[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202503071950.vvsA3SXV-lkp@intel.com>
Date: Fri, 7 Mar 2025 20:05:49 +0800
From: kernel test robot <lkp@...el.com>
To: Alistair Francis <alistair@...stair23.me>, bhelgaas@...gle.com,
linux-pci@...r.kernel.org, Jonathan.Cameron@...wei.com,
lukas@...ner.de
Cc: oe-kbuild-all@...ts.linux.dev, alex.williamson@...hat.com,
christian.koenig@....com, kch@...dia.com,
gregkh@...uxfoundation.org, logang@...tatee.com,
linux-kernel@...r.kernel.org, alistair23@...il.com,
chaitanyak@...dia.com, rdunlap@...radead.org,
Alistair Francis <alistair@...stair23.me>
Subject: Re: [PATCH v17 3/4] PCI/DOE: Expose the DOE features via sysfs
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-20250306]
[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: powerpc-icon_defconfig (https://download.01.org/0day-ci/archive/20250307/202503071950.vvsA3SXV-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503071950.vvsA3SXV-lkp@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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503071950.vvsA3SXV-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/powerpc/kernel/pci-common.c:44:
arch/powerpc/kernel/../../../drivers/pci/pci.h: In function 'pci_doe_sysfs_init':
>> arch/powerpc/kernel/../../../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/kernel/../../../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/kernel/../../../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
Powered by blists - more mailing lists