Hi Alistair, kernel test robot noticed the following build errors: [auto build test ERROR on pci/next] [also build test ERROR on pci/for-linus linus/master v6.14-rc5 next-20250307] [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/Alistair-Francis/PCI-DOE-Rename-Discovery-Response-Data-Object-Contents-to-type/20250306-155550 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20250306075211.1855177-3-alistair%40alistair23.me patch subject: [PATCH v17 3/4] PCI/DOE: Expose the DOE features via sysfs config: powerpc64-randconfig-003-20250307 (https://download.01.org/0day-ci/archive/20250307/202503072251.DHy2O6b1-lkp@xxxxxxxxx/config) compiler: powerpc64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503072251.DHy2O6b1-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202503072251.DHy2O6b1-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from arch/powerpc/platforms/powernv/pci-ioda.c:46: arch/powerpc/platforms/powernv/../../../../drivers/pci/pci.h: In function 'pci_doe_sysfs_init': >> arch/powerpc/platforms/powernv/../../../../drivers/pci/pci.h:488:70: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; } | ^ arch/powerpc/platforms/powernv/../../../../drivers/pci/pci.h:488:20: note: declared here 488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; } | ^~~~~~~~~~~~~~~~~~ vim +/return +488 arch/powerpc/platforms/powernv/../../../../drivers/pci/pci.h 483 484 #if defined(CONFIG_PCI_DOE) && defined(CONFIG_SYSFS) 485 void pci_doe_sysfs_init(struct pci_dev *pci_dev); 486 void pci_doe_sysfs_teardown(struct pci_dev *pdev); 487 #else > 488 static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; } 489 static inline void pci_doe_sysfs_teardown(struct pci_dev *pdev) { } 490 #endif 491 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki