tree:
https://github.com/sbates130272/linux-p2pmem.git p2pdma_dma_map_ops_rfc
head: 80a55e73c60d1f8f02b4371ef6b666323348566a
commit: 81ae7aadc3185d570a1fbcaee821865bacca1679 [16/17] PCI/P2PDMA: Introduce
pci_mmap_p2pmem()
config: x86_64-randconfig-s021-20210311 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
#
https://github.com/sbates130272/linux-p2pmem/commit/81ae7aadc3185d570a1fb...
git remote add p2pmem
https://github.com/sbates130272/linux-p2pmem.git
git fetch --no-tags p2pmem p2pdma_dma_map_ops_rfc
git checkout 81ae7aadc3185d570a1fbcaee821865bacca1679
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
> drivers/pci/p2pdma.c:1098:35: sparse: sparse: symbol
'pci_p2pdma_vmops' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org