LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [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
@ 2021-07-31  7:39 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-31  7:39 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: clang-built-linux, kbuild-all, linux-kernel, Sven Peter

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

tree:   https://github.com/AsahiLinux/linux nvme/dev
head:   29500f6a24f557631ee621c3c4af2df9fc44cce8
commit: 4f8da49326219a0864f9a1a1ccb7298747e14c15 [7/15] nvme: pci: rename pci specific functions
config: x86_64-randconfig-a001-20210730 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
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=clang make.cross O=build_dir ARCH=x86_64 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

4f8da49326219a drivers/nvme/host/pci.c   Arnd Bergmann     2021-02-11  1407  
4f8da49326219a drivers/nvme/host/pci.c   Arnd Bergmann     2021-02-11  1408  
4d115420707afc drivers/block/nvme-core.c Keith Busch       2013-12-10  1409  /**
4f8da49326219a drivers/nvme/host/pci.c   Arnd Bergmann     2021-02-11  1410   * nvme_pci_suspend_queue - put queue into suspended state
40581d1a91a152 drivers/nvme/host/pci.c   Bart Van Assche   2018-10-08  1411   * @nvmeq: queue to suspend
4d115420707afc drivers/block/nvme-core.c Keith Busch       2013-12-10  1412   */
4d115420707afc drivers/block/nvme-core.c Keith Busch       2013-12-10  1413  static int nvme_suspend_queue(struct nvme_queue *nvmeq)
b60503ba432b16 drivers/block/nvme.c      Matthew Wilcox    2011-01-20 @1414  {
4e224106673f1e drivers/nvme/host/pci.c   Christoph Hellwig 2018-12-02  1415  	if (!test_and_clear_bit(NVMEQ_ENABLED, &nvmeq->flags))
2b25d981790b83 drivers/block/nvme-core.c Keith Busch       2014-12-22  1416  		return 1;
a09115b23e2002 drivers/block/nvme.c      Matthew Wilcox    2012-08-07  1417  
4e224106673f1e drivers/nvme/host/pci.c   Christoph Hellwig 2018-12-02  1418  	/* ensure that nvme_queue_rq() sees NVMEQ_ENABLED cleared */
d1f06f4ae0410f drivers/nvme/host/pci.c   Jens Axboe        2018-05-17  1419  	mb();
a09115b23e2002 drivers/block/nvme.c      Matthew Wilcox    2012-08-07  1420  
4e224106673f1e drivers/nvme/host/pci.c   Christoph Hellwig 2018-12-02  1421  	nvmeq->dev->online_queues--;
1c63dc66580d4b drivers/nvme/host/pci.c   Christoph Hellwig 2015-11-26  1422  	if (!nvmeq->qid && nvmeq->dev->ctrl.admin_q)
c81545f991a661 drivers/nvme/host/pci.c   Sagi Grimberg     2017-07-02  1423  		blk_mq_quiesce_queue(nvmeq->dev->ctrl.admin_q);
7c349dde26b75d drivers/nvme/host/pci.c   Keith Busch       2019-03-08  1424  	if (!test_and_clear_bit(NVMEQ_POLLED, &nvmeq->flags))
4f8da49326219a drivers/nvme/host/pci.c   Arnd Bergmann     2021-02-11  1425  		nvme_queue_free_irq(nvmeq);
4d115420707afc drivers/block/nvme-core.c Keith Busch       2013-12-10  1426  	return 0;
b60503ba432b16 drivers/block/nvme.c      Matthew Wilcox    2011-01-20  1427  }
b60503ba432b16 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: 34823 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
@ 2021-07-30 19:31 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-30 19:31 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Sven Peter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-31  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31  7:39 [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-30 19:31 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;
as well as URLs for NNTP newsgroup(s).