lkml.org 
[lkml]   [2020]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b791d1bdf9212d944d749a5c7ff6febdba241771
commit: c50ed99cd56ee725d9e14dffec8e8f1641b8ca30 scsi: mpt3sas: Remove usage of device_busy counter
date: 5 months ago
:::::: branch date: 14 hours ago
:::::: commit date: 5 months ago
config: i386-randconfig-r015-20200612 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout c50ed99cd56ee725d9e14dffec8e8f1641b8ca30
# save the attached .config to linux build tree
make W=1 ARCH=i386

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request' [-Wmissing-declarations]
_base_sdev_nr_inflight_request(struct request_queue *q)
^

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c50ed99cd56ee725d9e14dffec8e8f1641b8ca30
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout c50ed99cd56ee725d9e14dffec8e8f1641b8ca30
vim +/_base_sdev_nr_inflight_request +3584 drivers/scsi/mpt3sas/mpt3sas_base.c

03d1fb3a657839 Suganath prabu Subramani 2016-01-28 3575
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3576 /**
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3577 * _base_sdev_nr_inflight_request -get number of inflight requests
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3578 * of a request queue.
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3579 * @q: request_queue object
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3580 *
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3581 * returns number of inflight request of a request queue.
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3582 */
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3583 inline unsigned long
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 @3584 _base_sdev_nr_inflight_request(struct request_queue *q)
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3585 {
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3586 struct blk_mq_hw_ctx *hctx = q->queue_hw_ctx[0];
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3587
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3588 return atomic_read(&hctx->nr_active);
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3589 }
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3590

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-leave@lists.01.org
\
 
 \ /
  Last update: 2020-06-15 08:37    [W:0.141 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site