[pci:review/pci/resource 8/21] drivers/nvme/host/pci.c:2919:6: sparse: symbol 'nvme_rescan_prepare' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git review/pci/resource
head:   4e373408d7e45cf4ae83c9448e4653388e1174bd
commit: aad30cad086923324dfc0ec32d8e34e562b9804c [8/21] nvme-pci: Handle movable BARs
reproduce:
        # apt-get install sparse
        git checkout aad30cad086923324dfc0ec32d8e34e562b9804c
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'


sparse warnings: (new ones prefixed by >>)

   drivers/nvme/host/pci.c:1757:15: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:1757:15: sparse: expression using sizeof(void)
   include/linux/slab.h:664:13: sparse: undefined identifier '__builtin_mul_overflow'
   drivers/nvme/host/pci.c:1985:28: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:1984:27: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2005:21: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2005:21: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2168:18: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2292:33: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2295:48: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2295:48: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2350:24: sparse: expression using sizeof(void)
   drivers/nvme/host/pci.c:2350:24: sparse: expression using sizeof(void)
   include/linux/nodemask.h:265:16: sparse: expression using sizeof(void)
   include/linux/slab.h:699:13: sparse: undefined identifier '__builtin_mul_overflow'
>> drivers/nvme/host/pci.c:2919:6: sparse: symbol 'nvme_rescan_prepare' was not declared. Should it be static?
>> drivers/nvme/host/pci.c:2928:6: sparse: symbol 'nvme_rescan_done' was not declared. Should it be static?
   include/linux/slab.h:664:13: sparse: call with no type!
   include/linux/slab.h:699:13: sparse: call with no type!

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux