Hi Zhuang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on helgaas-pci/next] [also build test WARNING on linus/master v6.0 next-20221007] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Zhuang-Shengen/iov-support-enable-pci-sriov-concurrently/20221008-104400 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: x86_64-randconfig-s022 compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/89e62ddba75cc10e9511515cd761773beaa0f8db git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Zhuang-Shengen/iov-support-enable-pci-sriov-concurrently/20221008-104400 git checkout 89e62ddba75cc10e9511515cd761773beaa0f8db # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/pci/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/pci/probe.c:28:1: sparse: sparse: symbol 'add_bus_mutex' was not declared. Should it be static? -- 0-DAY CI Kernel Test Service https://01.org/lkp