On Fri, Mar 07, 2025 at 06:33:08AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git doe > head: d7706150d71eca96b6eb8865152bb9fd9830e9fc > commit: c4cef7f8f8202238f89668e1c0d013a94c0069fd [3/4] PCI/DOE: Expose DOE features via sysfs > config: riscv-randconfig-001-20250307 (https://download.01.org/0day-ci/archive/20250307/202503070631.aZNf56QY-lkp@xxxxxxxxx/config) > compiler: riscv64-linux-gcc (GCC) 14.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503070631.aZNf56QY-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/202503070631.aZNf56QY-lkp@xxxxxxxxx/ > > All errors (new ones prefixed by >>): > > In file included from drivers/pci/quirks.c:37: > drivers/pci/pci.h: In function 'pci_doe_sysfs_init': > >> drivers/pci/pci.h:464:70: error: 'return' with a value, in function returning void [-Wreturn-mismatch] > 464 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; } > | ^ I dropped this "return 0;" See https://git.kernel.org/cgit/linux/kernel/git/pci/pci.git/commit/?id=87f7d1a95d2f