tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost head: 97d5f469f45a2312a124376fd6fa368ef8419dff commit: b7468115b6045e555aa8a8f2fa327c1c073fc6df [4/8] pci: report surprise removal event config: x86_64-buildonly-randconfig-004-20250709 (https://download.01.org/0day-ci/archive/20250709/202507091726.qksmdnk7-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250709/202507091726.qksmdnk7-...@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202507091726.qksmdnk7-...@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/firmware/efi/libstub/pci.c:10: include/linux/pci.h: In function 'pci_set_disconnect_work': >> include/linux/pci.h:2738:14: warning: implicit declaration of function >> 'pci_device_is_present'; did you mean 'pci_dev_present'? >> [-Wimplicit-function-declaration] 2738 | if (!pci_device_is_present(pdev)) | ^~~~~~~~~~~~~~~~~~~~~ | pci_dev_present vim +2738 include/linux/pci.h 2722 2723 /* 2724 * Caller must initialize @pdev->disconnect_work before invoking this. 2725 * The work function must run and check pci_test_and_clear_disconnect_enable. 2726 * Note that device can go away right after this call. 2727 */ 2728 static inline void pci_set_disconnect_work(struct pci_dev *pdev) 2729 { 2730 /* Make sure WQ has been initialized already */ 2731 smp_wmb(); 2732 2733 WRITE_ONCE(pdev->disconnect_work_enable, 0x1); 2734 2735 /* check the device did not go away meanwhile. */ 2736 mb(); 2737 > 2738 if (!pci_device_is_present(pdev)) 2739 schedule_work(&pdev->disconnect_work); 2740 } 2741 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki