lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 15 Jun 2020 14:14:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sreekanth Reddy <sreekanth.reddy@...adcom.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        "Martin K. Petersen" <martin.petersen@...cle.com>
Subject: drivers/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@...el.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

Download attachment ".config.gz" of type "application/gzip" (32464 bytes)

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

Powered by blists - more mailing lists