mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request'
@ 2020-06-15  6:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-15  6:14 UTC (permalink / raw)
  To: Sreekanth Reddy; +Cc: kbuild-all, linux-kernel, Martin K. Petersen

[-- Attachment #1: Type: text/plain, Size: 2759 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32464 bytes --]

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-leave@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-15  6:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15  6:14 drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®