* Re: [PATCH 3/6 v7] acpi/ghes: Make GHES select ACPI_APEI_PCIEAER
[not found] <20251104182446.863422-4-fabio.m.de.francesco@linux.intel.com>
@ 2025-11-05 10:05 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-05 10:05 UTC (permalink / raw)
To: Fabio M. De Francesco; +Cc: llvm, oe-kbuild-all
Hi Fabio,
kernel test robot noticed the following build errors:
[auto build test ERROR on c9cfc122f03711a5124b4aafab3211cf4d35a2ac]
url: https://github.com/intel-lab-lkp/linux/commits/Fabio-M-De-Francesco/ACPI-extlog-Trace-CPER-Non-standard-Section-Body/20251105-022733
base: c9cfc122f03711a5124b4aafab3211cf4d35a2ac
patch link: https://lore.kernel.org/r/20251104182446.863422-4-fabio.m.de.francesco%40linux.intel.com
patch subject: [PATCH 3/6 v7] acpi/ghes: Make GHES select ACPI_APEI_PCIEAER
config: x86_64-randconfig-074-20251105 (https://download.01.org/0day-ci/archive/20251105/202511051740.HlE2bTd2-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251105/202511051740.HlE2bTd2-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511051740.HlE2bTd2-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/pci/pci-driver.c:1591:6: warning: no previous prototype for function 'pci_uevent_ers' [-Wmissing-prototypes]
1591 | void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type)
| ^
drivers/pci/pci-driver.c:1591:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1591 | void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type)
| ^
| static
1 warning generated.
--
>> drivers/pci/pcie/err.c:83:2: error: call to undeclared function 'pci_uevent_ers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
83 | pci_uevent_ers(dev, vote);
| ^
drivers/pci/pcie/err.c:124:2: error: call to undeclared function 'pci_uevent_ers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
124 | pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT);
| ^
drivers/pci/pcie/err.c:182:2: error: call to undeclared function 'pci_uevent_ers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
182 | pci_uevent_ers(dev, PCI_ERS_RESULT_RECOVERED);
| ^
3 errors generated.
--
>> drivers/pci/pcie/aer.c:1754:15: error: no member named 'rcec' in 'struct pci_dev'
1754 | root = dev->rcec;
| ~~~ ^
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PCIEAER
Depends on [n]: PCI [=y] && PCIEPORTBUS [=n]
Selected by [y]:
- ACPI_APEI_GHES [=y] && ACPI [=y] && ACPI_APEI [=y]
vim +/pci_uevent_ers +83 drivers/pci/pcie/err.c
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 48
542aeb9c8f930e4 Keith Busch 2018-09-20 49 static int report_error_detected(struct pci_dev *dev,
16d79cd4e23b196 Luc Van Oostenryck 2020-07-02 50 pci_channel_state_t state,
542aeb9c8f930e4 Keith Busch 2018-09-20 51 enum pci_ers_result *result)
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 52 {
171d149ce8d11f7 Bjorn Helgaas 2021-10-12 53 struct pci_driver *pdrv;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 54 pci_ers_result_t vote;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 55 const struct pci_error_handlers *err_handler;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 56
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 57 device_lock(&dev->dev);
e0217c5ba10d7bf Bjorn Helgaas 2021-11-10 58 pdrv = dev->driver;
5e69a33c5cec019 Christoph Hellwig 2022-06-01 59 if (pci_dev_is_disconnected(dev)) {
5e69a33c5cec019 Christoph Hellwig 2022-06-01 60 vote = PCI_ERS_RESULT_DISCONNECT;
5e69a33c5cec019 Christoph Hellwig 2022-06-01 61 } else if (!pci_dev_set_io_state(dev, state)) {
5e69a33c5cec019 Christoph Hellwig 2022-06-01 62 pci_info(dev, "can't recover (state transition %u -> %u invalid)\n",
5e69a33c5cec019 Christoph Hellwig 2022-06-01 63 dev->error_state, state);
5e69a33c5cec019 Christoph Hellwig 2022-06-01 64 vote = PCI_ERS_RESULT_NONE;
5e69a33c5cec019 Christoph Hellwig 2022-06-01 65 } else if (!pdrv || !pdrv->err_handler ||
171d149ce8d11f7 Bjorn Helgaas 2021-10-12 66 !pdrv->err_handler->error_detected) {
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 67 /*
bfcb79fca19d267 Keith Busch 2018-09-20 68 * If any device in the subtree does not have an error_detected
bfcb79fca19d267 Keith Busch 2018-09-20 69 * callback, PCI_ERS_RESULT_NO_AER_DRIVER prevents subsequent
bfcb79fca19d267 Keith Busch 2018-09-20 70 * error callbacks of "any" device in the subtree, and will
bfcb79fca19d267 Keith Busch 2018-09-20 71 * exit in the disconnected error state.
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 72 */
01daacfb9035e5b Yicong Yang 2019-12-13 73 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) {
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 74 vote = PCI_ERS_RESULT_NO_AER_DRIVER;
8d077c3ce0109c4 Bjorn Helgaas 2019-12-13 75 pci_info(dev, "can't recover (no error_detected callback)\n");
01daacfb9035e5b Yicong Yang 2019-12-13 76 } else {
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 77 vote = PCI_ERS_RESULT_NONE;
01daacfb9035e5b Yicong Yang 2019-12-13 78 }
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 79 } else {
171d149ce8d11f7 Bjorn Helgaas 2021-10-12 80 err_handler = pdrv->err_handler;
542aeb9c8f930e4 Keith Busch 2018-09-20 81 vote = err_handler->error_detected(dev, state);
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 82 }
7b42d97e99d3a2b Keith Busch 2018-09-20 @83 pci_uevent_ers(dev, vote);
542aeb9c8f930e4 Keith Busch 2018-09-20 84 *result = merge_result(*result, vote);
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 85 device_unlock(&dev->dev);
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 86 return 0;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 87 }
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 88
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-05 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20251104182446.863422-4-fabio.m.de.francesco@linux.intel.com>
2025-11-05 10:05 ` [PATCH 3/6 v7] acpi/ghes: Make GHES select ACPI_APEI_PCIEAER kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox