From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Sven Peter <sven@svenpeter.dev>
Subject: [asahilinux:nvme/dev 7/15] drivers/nvme/host/pci.c:1414: warning: expecting prototype for nvme_pci_suspend_queue(). Prototype was for nvme_suspend_queue() instead
Date: Sat, 31 Jul 2021 03:31:42 +0800 [thread overview]
Message-ID: <202107310334.nIjZFZdC-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3882 bytes --]
tree: https://github.com/AsahiLinux/linux nvme/dev
head: 29500f6a24f557631ee621c3c4af2df9fc44cce8
commit: 4f8da49326219a0864f9a1a1ccb7298747e14c15 [7/15] nvme: pci: rename pci specific functions
config: arm64-buildonly-randconfig-r001-20210730 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/4f8da49326219a0864f9a1a1ccb7298747e14c15
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux nvme/dev
git checkout 4f8da49326219a0864f9a1a1ccb7298747e14c15
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/nvme/host/
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 >>):
>> drivers/nvme/host/pci.c:1414: warning: expecting prototype for nvme_pci_suspend_queue(). Prototype was for nvme_suspend_queue() instead
vim +1414 drivers/nvme/host/pci.c
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1407
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1408
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1409 /**
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1410 * nvme_pci_suspend_queue - put queue into suspended state
40581d1a91a1527 drivers/nvme/host/pci.c Bart Van Assche 2018-10-08 1411 * @nvmeq: queue to suspend
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1412 */
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1413 static int nvme_suspend_queue(struct nvme_queue *nvmeq)
b60503ba432b16f drivers/block/nvme.c Matthew Wilcox 2011-01-20 @1414 {
4e224106673f1e8 drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1415 if (!test_and_clear_bit(NVMEQ_ENABLED, &nvmeq->flags))
2b25d981790b830 drivers/block/nvme-core.c Keith Busch 2014-12-22 1416 return 1;
a09115b23e2002b drivers/block/nvme.c Matthew Wilcox 2012-08-07 1417
4e224106673f1e8 drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1418 /* ensure that nvme_queue_rq() sees NVMEQ_ENABLED cleared */
d1f06f4ae0410f8 drivers/nvme/host/pci.c Jens Axboe 2018-05-17 1419 mb();
a09115b23e2002b drivers/block/nvme.c Matthew Wilcox 2012-08-07 1420
4e224106673f1e8 drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1421 nvmeq->dev->online_queues--;
1c63dc66580d4bb drivers/nvme/host/pci.c Christoph Hellwig 2015-11-26 1422 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q)
c81545f991a6612 drivers/nvme/host/pci.c Sagi Grimberg 2017-07-02 1423 blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q);
7c349dde26b75db drivers/nvme/host/pci.c Keith Busch 2019-03-08 1424 if (!test_and_clear_bit(NVMEQ_POLLED, &nvmeq->flags))
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1425 nvme_queue_free_irq(nvmeq);
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1426 return 0;
b60503ba432b16f drivers/block/nvme.c Matthew Wilcox 2011-01-20 1427 }
b60503ba432b16f drivers/block/nvme.c Matthew Wilcox 2011-01-20 1428
:::::: The code at line 1414 was first introduced by commit
:::::: b60503ba432b16fc84442a84e29a7aad2c0c363d NVMe: New driver
:::::: TO: Matthew Wilcox <matthew.r.wilcox@intel.com>
:::::: CC: Matthew Wilcox <matthew.r.wilcox@intel.com>
---
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: 41827 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [asahilinux:nvme/dev 7/15] drivers/nvme/host/pci.c:1414: warning: expecting prototype for nvme_pci_suspend_queue(). Prototype was for nvme_suspend_queue() instead
Date: Sat, 31 Jul 2021 03:31:42 +0800 [thread overview]
Message-ID: <202107310334.nIjZFZdC-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3942 bytes --]
tree: https://github.com/AsahiLinux/linux nvme/dev
head: 29500f6a24f557631ee621c3c4af2df9fc44cce8
commit: 4f8da49326219a0864f9a1a1ccb7298747e14c15 [7/15] nvme: pci: rename pci specific functions
config: arm64-buildonly-randconfig-r001-20210730 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/4f8da49326219a0864f9a1a1ccb7298747e14c15
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux nvme/dev
git checkout 4f8da49326219a0864f9a1a1ccb7298747e14c15
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/nvme/host/
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 >>):
>> drivers/nvme/host/pci.c:1414: warning: expecting prototype for nvme_pci_suspend_queue(). Prototype was for nvme_suspend_queue() instead
vim +1414 drivers/nvme/host/pci.c
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1407
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1408
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1409 /**
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1410 * nvme_pci_suspend_queue - put queue into suspended state
40581d1a91a1527 drivers/nvme/host/pci.c Bart Van Assche 2018-10-08 1411 * @nvmeq: queue to suspend
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1412 */
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1413 static int nvme_suspend_queue(struct nvme_queue *nvmeq)
b60503ba432b16f drivers/block/nvme.c Matthew Wilcox 2011-01-20 @1414 {
4e224106673f1e8 drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1415 if (!test_and_clear_bit(NVMEQ_ENABLED, &nvmeq->flags))
2b25d981790b830 drivers/block/nvme-core.c Keith Busch 2014-12-22 1416 return 1;
a09115b23e2002b drivers/block/nvme.c Matthew Wilcox 2012-08-07 1417
4e224106673f1e8 drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1418 /* ensure that nvme_queue_rq() sees NVMEQ_ENABLED cleared */
d1f06f4ae0410f8 drivers/nvme/host/pci.c Jens Axboe 2018-05-17 1419 mb();
a09115b23e2002b drivers/block/nvme.c Matthew Wilcox 2012-08-07 1420
4e224106673f1e8 drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1421 nvmeq->dev->online_queues--;
1c63dc66580d4bb drivers/nvme/host/pci.c Christoph Hellwig 2015-11-26 1422 if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q)
c81545f991a6612 drivers/nvme/host/pci.c Sagi Grimberg 2017-07-02 1423 blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q);
7c349dde26b75db drivers/nvme/host/pci.c Keith Busch 2019-03-08 1424 if (!test_and_clear_bit(NVMEQ_POLLED, &nvmeq->flags))
4f8da49326219a0 drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1425 nvme_queue_free_irq(nvmeq);
4d115420707afca drivers/block/nvme-core.c Keith Busch 2013-12-10 1426 return 0;
b60503ba432b16f drivers/block/nvme.c Matthew Wilcox 2011-01-20 1427 }
b60503ba432b16f drivers/block/nvme.c Matthew Wilcox 2011-01-20 1428
:::::: The code at line 1414 was first introduced by commit
:::::: b60503ba432b16fc84442a84e29a7aad2c0c363d NVMe: New driver
:::::: TO: Matthew Wilcox <matthew.r.wilcox@intel.com>
:::::: CC: Matthew Wilcox <matthew.r.wilcox@intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41827 bytes --]
next reply other threads:[~2021-07-30 19:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 19:31 kernel test robot [this message]
2021-07-30 19:31 ` [asahilinux:nvme/dev 7/15] drivers/nvme/host/pci.c:1414: warning: expecting prototype for nvme_pci_suspend_queue(). Prototype was for nvme_suspend_queue() instead kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-07-31 7:39 kernel test robot
2021-07-31 7:39 ` kernel test robot
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=202107310334.nIjZFZdC-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sven@svenpeter.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.