[PATCH 2/4] wifi: ath12k: Add Support for enabling or disabling specific features based on ACPI bitflag
kernel test robot
lkp at intel.com
Wed Jul 17 13:36:30 PDT 2024
Hi Lingbo,
kernel test robot noticed the following build errors:
[auto build test ERROR on db1ce56e6e1d395dd42a3cd6332a871d9be59c45]
url: https://github.com/intel-lab-lkp/linux/commits/Lingbo-Kong/wifi-ath12k-Add-support-for-obtaining-the-buffer-type-ACPI-function-bitmap/20240717-211701
base: db1ce56e6e1d395dd42a3cd6332a871d9be59c45
patch link: https://lore.kernel.org/r/20240717111023.78798-3-quic_lingbok%40quicinc.com
patch subject: [PATCH 2/4] wifi: ath12k: Add Support for enabling or disabling specific features based on ACPI bitflag
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240718/202407180403.SFqsPj0v-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407180403.SFqsPj0v-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407180403.SFqsPj0v-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/wireless/ath/ath12k/core.c: In function 'ath12k_core_rfkill_config':
>> drivers/net/wireless/ath/ath12k/core.c:33:15: error: 'struct ath12k_base' has no member named 'acpi'
33 | if (ab->acpi.acpi_disable_rfkill)
| ^~
--
drivers/net/wireless/ath/ath12k/mac.c: In function 'ath12k_mac_copy_eht_cap':
>> drivers/net/wireless/ath/ath12k/mac.c:5488:19: error: 'struct ath12k_base' has no member named 'acpi'
5488 | ar->ab->acpi.acpi_disable_11be)
| ^~
vim +33 drivers/net/wireless/ath/ath12k/core.c
24
25 static int ath12k_core_rfkill_config(struct ath12k_base *ab)
26 {
27 struct ath12k *ar;
28 int ret = 0, i;
29
30 if (!(ab->target_caps.sys_cap_info & WMI_SYS_CAP_INFO_RFKILL))
31 return 0;
32
> 33 if (ab->acpi.acpi_disable_rfkill)
34 return 0;
35
36 for (i = 0; i < ab->num_radios; i++) {
37 ar = ab->pdevs[i].ar;
38
39 ret = ath12k_mac_rfkill_config(ar);
40 if (ret && ret != -EOPNOTSUPP) {
41 ath12k_warn(ab, "failed to configure rfkill: %d", ret);
42 return ret;
43 }
44 }
45
46 return ret;
47 }
48
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the ath12k
mailing list