Hi Arnd,
First bad commit (maybe != root cause):
tree:
https://github.com/AsahiLinux/linux nvme/dev
head: 69142df77238252d5ab52d940bcff054c4dcd551
commit: bdb3ab66d08f3e95705b1e4403be6d9d9740a78e [8/9] nvme: add platform driver
registration
config: riscv-randconfig-r011-20210608 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
d32cc150feb72f315a5bbd34f92e7beca21a50da)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/AsahiLinux/linux/commit/bdb3ab66d08f3e95705b1e4403be6d...
git remote add asahilinux
https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux nvme/dev
git checkout bdb3ab66d08f3e95705b1e4403be6d9d9740a78e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/nvme/host/pci.c:1440: warning: expecting prototype for
nvme_pci_suspend_queue(). Prototype was for nvme_suspend_queue() instead
vim +1440 drivers/nvme/host/pci.c
4a80db096ae7aa drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1433
4a80db096ae7aa drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1434
4d115420707afc drivers/block/nvme-core.c Keith Busch 2013-12-10 1435 /**
4a80db096ae7aa drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1436 *
nvme_pci_suspend_queue - put queue into suspended state
40581d1a91a152 drivers/nvme/host/pci.c Bart Van Assche 2018-10-08 1437 * @nvmeq:
queue to suspend
4d115420707afc drivers/block/nvme-core.c Keith Busch 2013-12-10 1438 */
4d115420707afc drivers/block/nvme-core.c Keith Busch 2013-12-10 1439 static int
nvme_suspend_queue(struct nvme_queue *nvmeq)
b60503ba432b16 drivers/block/nvme.c Matthew Wilcox 2011-01-20 @1440 {
4e224106673f1e drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1441 if
(!test_and_clear_bit(NVMEQ_ENABLED, &nvmeq->flags))
2b25d981790b83 drivers/block/nvme-core.c Keith Busch 2014-12-22 1442 return 1;
a09115b23e2002 drivers/block/nvme.c Matthew Wilcox 2012-08-07 1443
4e224106673f1e drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1444 /* ensure
that nvme_queue_rq() sees NVMEQ_ENABLED cleared */
d1f06f4ae0410f drivers/nvme/host/pci.c Jens Axboe 2018-05-17 1445 mb();
a09115b23e2002 drivers/block/nvme.c Matthew Wilcox 2012-08-07 1446
4e224106673f1e drivers/nvme/host/pci.c Christoph Hellwig 2018-12-02 1447
nvmeq->dev->online_queues--;
1c63dc66580d4b drivers/nvme/host/pci.c Christoph Hellwig 2015-11-26 1448 if
(!nvmeq->qid && nvmeq->dev->ctrl.admin_q)
c81545f991a661 drivers/nvme/host/pci.c Sagi Grimberg 2017-07-02 1449
blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q);
7c349dde26b75d drivers/nvme/host/pci.c Keith Busch 2019-03-08 1450 if
(!test_and_clear_bit(NVMEQ_POLLED, &nvmeq->flags))
4a80db096ae7aa drivers/nvme/host/pci.c Arnd Bergmann 2021-02-11 1451
nvme_queue_free_irq(nvmeq);
4d115420707afc drivers/block/nvme-core.c Keith Busch 2013-12-10 1452 return 0;
b60503ba432b16 drivers/block/nvme.c Matthew Wilcox 2011-01-20 1453 }
b60503ba432b16 drivers/block/nvme.c Matthew Wilcox 2011-01-20 1454
:::::: The code at line 1440 was first introduced by commit
:::::: b60503ba432b16fc84442a84e29a7aad2c0c363d NVMe: New driver
:::::: TO: Matthew Wilcox <matthew.r.wilcox(a)intel.com>
:::::: CC: Matthew Wilcox <matthew.r.wilcox(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org