From: kernel test robot <lkp@intel.com>
To: Lukas Wunner <lukas@wunner.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [l1k:aer_baseline_v1 7/7] drivers/pci/pcie/aer.c:264:12: warning: 'pci_enable_pcie_error_reporting' defined but not used
Date: Fri, 18 Sep 2026 02:40:26 +0200 [thread overview]
Message-ID: <202609180212.Cd6d2J0F-lkp@intel.com> (raw)
tree: https://github.com/l1k/linux aer_baseline_v1
head: c03892987cf6c02922172ccd72a517bd7790d3b1
commit: c03892987cf6c02922172ccd72a517bd7790d3b1 [7/7] PCI/AER: Enable baseline capability error reporting
config: arc-randconfig-r2103-20260918 (https://download.01.org/0day-ci/archive/20260918/202609180212.Cd6d2J0F-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260918/202609180212.Cd6d2J0F-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/202609180212.Cd6d2J0F-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/pci/pcie/aer.c: In function 'pci_aer_init':
drivers/pci/pcie/aer.c:436:29: error: expected ')' before 'pcie_clear_device_status'
if (pcie_aer_is_native(dev)
~ ^
)
pcie_clear_device_status(dev);
~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pci/pcie/aer.c:443:1: error: expected expression before '}' token
}
^
At top level:
>> drivers/pci/pcie/aer.c:264:12: warning: 'pci_enable_pcie_error_reporting' defined but not used [-Wunused-function]
static int pci_enable_pcie_error_reporting(struct pci_dev *dev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/pci_enable_pcie_error_reporting +264 drivers/pci/pcie/aer.c
fd3362cb73dee6 drivers/pci/pcie/aer/aerdrv.c Bjorn Helgaas 2018-06-08 263
7ec4b34be42345 drivers/pci/pcie/aer.c Bjorn Helgaas 2023-07-10 @264 static int pci_enable_pcie_error_reporting(struct pci_dev *dev)
fd3362cb73dee6 drivers/pci/pcie/aer/aerdrv.c Bjorn Helgaas 2018-06-08 265 {
d20df83b66ccb9 drivers/pci/pcie/aer.c Bolarinwa Olayemi Saheed 2020-06-15 266 int rc;
d20df83b66ccb9 drivers/pci/pcie/aer.c Bolarinwa Olayemi Saheed 2020-06-15 267
708b2000362476 drivers/pci/pcie/aer.c Kuppuswamy Sathyanarayanan 2020-05-26 268 if (!pcie_aer_is_native(dev))
fd3362cb73dee6 drivers/pci/pcie/aer/aerdrv.c Bjorn Helgaas 2018-06-08 269 return -EIO;
fd3362cb73dee6 drivers/pci/pcie/aer/aerdrv.c Bjorn Helgaas 2018-06-08 270
d20df83b66ccb9 drivers/pci/pcie/aer.c Bolarinwa Olayemi Saheed 2020-06-15 271 rc = pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS);
d20df83b66ccb9 drivers/pci/pcie/aer.c Bolarinwa Olayemi Saheed 2020-06-15 272 return pcibios_err_to_errno(rc);
fd3362cb73dee6 drivers/pci/pcie/aer/aerdrv.c Bjorn Helgaas 2018-06-08 273 }
fd3362cb73dee6 drivers/pci/pcie/aer/aerdrv.c Bjorn Helgaas 2018-06-08 274
:::::: The code at line 264 was first introduced by commit
:::::: 7ec4b34be4234599cf1241ef807cdb7c3636f6fe PCI/AER: Unexport pci_enable_pcie_error_reporting()
:::::: TO: Bjorn Helgaas <bhelgaas@google.com>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-18 0:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609180212.Cd6d2J0F-lkp@intel.com \
--to=lkp@intel.com \
--cc=lukas@wunner.de \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.