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:   Sat, 31 Jul 2021 15:39:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Sven Peter <sven@...npeter.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

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@...el.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@...el.com>
:::::: CC: Matthew Wilcox <matthew.r.wilcox@...el.com>

---
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" (34823 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ