mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request'
Date: Mon, 15 Jun 2020 14:14:00 +0800	[thread overview]
Message-ID: <20200615061400.GW12456@shao2-debian> (raw)

[-- 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

                 reply	other threads:[~2020-06-15  6:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200615061400.GW12456@shao2-debian \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=sreekanth.reddy@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®