[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202503072302.i9H71Jqv-lkp@intel.com>
Date: Sat, 8 Mar 2025 00:01:15 +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 warnings:
[auto build test WARNING on pci/next]
[also build test WARNING 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: um-randconfig-r063-20250307 (https://download.01.org/0day-ci/archive/20250307/202503072302.i9H71Jqv-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503072302.i9H71Jqv-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/202503072302.i9H71Jqv-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/pci/msi/pcidev_msi.c:5:
drivers/pci/msi/../pci.h: In function 'pci_doe_sysfs_init':
>> drivers/pci/msi/../pci.h:488:70: warning: 'return' with a value, in function returning void [-Wreturn-type]
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^
drivers/pci/msi/../pci.h:488:20: note: declared here
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^~~~~~~~~~~~~~~~~~
--
In file included from drivers/pci/pcie/aspm.c:27:
drivers/pci/pcie/../pci.h: In function 'pci_doe_sysfs_init':
>> drivers/pci/pcie/../pci.h:488:70: warning: 'return' with a value, in function returning void [-Wreturn-type]
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^
drivers/pci/pcie/../pci.h:488:20: note: declared here
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^~~~~~~~~~~~~~~~~~
--
In file included from drivers/pci/hotplug/pci_hotplug_core.c:32:
drivers/pci/hotplug/../pci.h: In function 'pci_doe_sysfs_init':
>> drivers/pci/hotplug/../pci.h:488:70: warning: 'return' with a value, in function returning void [-Wreturn-type]
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^
drivers/pci/hotplug/../pci.h:488:20: note: declared here
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^~~~~~~~~~~~~~~~~~
--
In file included from drivers/pci/controller/dwc/pcie-designware.c:24:
drivers/pci/controller/dwc/../../pci.h: In function 'pci_doe_sysfs_init':
>> drivers/pci/controller/dwc/../../pci.h:488:70: warning: 'return' with a value, in function returning void [-Wreturn-type]
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^
drivers/pci/controller/dwc/../../pci.h:488:20: note: declared here
488 | static inline void pci_doe_sysfs_init(struct pci_dev *pdev) { return 0; }
| ^~~~~~~~~~~~~~~~~~
vim +/return +488 drivers/pci/msi/../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