From: kernel test robot <lkp@intel.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, "Abel Vesa" <abel.vesa@linaro.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>
Subject: [sre-misc:thinkpad-t14s-x1e 6/99] drivers/net/wireless/ath/ath6kl/../ath.h:346:26: error: 'PCIE_LINK_STATE_L0S' undeclared
Date: Thu, 4 Sep 2025 02:28:34 +0800 [thread overview]
Message-ID: <202509040241.TMbOqbPQ-lkp@intel.com> (raw)
[community] /zdci/src/lkp/sbin/sync-produce --item /zdci/kbuild/indicators/d6/d6bbb3844ce141a954d7c3c09ecd824cc2403d19-first_error_kconfig --flag create-dir
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-misc.git thinkpad-t14s-x1e
head: dd3e9d84551ad5ab322a8cabaf9c250916db874e
commit: d6bbb3844ce141a954d7c3c09ecd824cc2403d19 [6/99] wifi: ath12k: Use pci_{enable/disable}_link_state() APIs to enable/disable ASPM states
config: i386-buildonly-randconfig-003-20250904 (https://download.01.org/0day-ci/archive/20250904/202509040241.TMbOqbPQ-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250904/202509040241.TMbOqbPQ-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/202509040241.TMbOqbPQ-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/ath/ath6kl/../regd.h:23,
from drivers/net/wireless/ath/ath6kl/wmi.c:24:
drivers/net/wireless/ath/ath6kl/../ath.h: In function 'ath_pci_aspm_state':
>> drivers/net/wireless/ath/ath6kl/../ath.h:346:26: error: 'PCIE_LINK_STATE_L0S' undeclared (first use in this function)
346 | state |= PCIE_LINK_STATE_L0S;
| ^~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath6kl/../ath.h:346:26: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/net/wireless/ath/ath6kl/../ath.h:348:26: error: 'PCIE_LINK_STATE_L1' undeclared (first use in this function)
348 | state |= PCIE_LINK_STATE_L1;
| ^~~~~~~~~~~~~~~~~~
vim +/PCIE_LINK_STATE_L0S +346 drivers/net/wireless/ath/ath6kl/../ath.h
340
341 static inline int ath_pci_aspm_state(u16 lnkctl)
342 {
343 int state = 0;
344
345 if (lnkctl & PCI_EXP_LNKCTL_ASPM_L0S)
> 346 state |= PCIE_LINK_STATE_L0S;
347 if (lnkctl & PCI_EXP_LNKCTL_ASPM_L1)
> 348 state |= PCIE_LINK_STATE_L1;
349
350 return state;
351 }
352
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-09-03 18:28 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=202509040241.TMbOqbPQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=abel.vesa@linaro.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=manivannan.sadhasivam@oss.qualcomm.com \
--cc=neil.armstrong@linaro.org \
--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.