Search Linux Wireless

Re: [PATCH 1/2] wifi: ath12k: Add Support to Parse TPC Event from Firmware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Roopni,

kernel test robot noticed the following build errors:

[auto build test ERROR on 09fa3b6974a1245ddd0751747609431494ba5b4f]

url:    https://github.com/intel-lab-lkp/linux/commits/Roopni-Devanathan/wifi-ath12k-Add-Support-to-Parse-TPC-Event-from-Firmware/20241221-043752
base:   09fa3b6974a1245ddd0751747609431494ba5b4f
patch link:    https://lore.kernel.org/r/20241220203638.2082002-2-quic_rdevanat%40quicinc.com
patch subject: [PATCH 1/2] wifi: ath12k: Add Support to Parse TPC Event from Firmware
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241222/202412220617.gNBV4iPi-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241222/202412220617.gNBV4iPi-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412220617.gNBV4iPi-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath12k/wmi.c: In function 'ath12k_wmi_free_tpc_stats_mem':
>> drivers/net/wireless/ath/ath12k/wmi.c:7668:50: error: 'struct ath12k' has no member named 'debug'
    7668 |         struct wmi_tpc_stats_info *tpc_stats = ar->debug.tpc_stats;
         |                                                  ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7678:19: error: 'struct ath12k' has no member named 'debug'
    7678 |                 ar->debug.tpc_stats = NULL;
         |                   ^~
   drivers/net/wireless/ath/ath12k/wmi.c: In function 'ath12k_process_tpc_stats':
   drivers/net/wireless/ath/ath12k/wmi.c:7722:16: error: 'struct ath12k' has no member named 'debug'
    7722 |         if (!ar->debug.tpc_request) {
         |                ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7726:23: error: 'struct ath12k' has no member named 'debug'
    7726 |                 if (ar->debug.tpc_stats) {
         |                       ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7735:23: error: 'struct ath12k' has no member named 'debug'
    7735 |                 if (ar->debug.tpc_stats) {
         |                       ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7740:19: error: 'struct ath12k' has no member named 'debug'
    7740 |                 ar->debug.tpc_stats =
         |                   ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7743:24: error: 'struct ath12k' has no member named 'debug'
    7743 |                 if (!ar->debug.tpc_stats) {
         |                        ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7750:23: error: 'struct ath12k' has no member named 'debug'
    7750 |         tpc_stats = ar->debug.tpc_stats;
         |                       ^~
   drivers/net/wireless/ath/ath12k/wmi.c:7776:29: error: 'struct ath12k' has no member named 'debug'
    7776 |                 complete(&ar->debug.tpc_complete);
         |                             ^~


vim +7668 drivers/net/wireless/ath/ath12k/wmi.c

  7665	
  7666	void ath12k_wmi_free_tpc_stats_mem(struct ath12k *ar)
  7667	{
> 7668		struct wmi_tpc_stats_info *tpc_stats = ar->debug.tpc_stats;
  7669	
  7670		lockdep_assert_held(&ar->data_lock);
  7671		ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "tpc stats mem free\n");
  7672		if (tpc_stats) {
  7673			kfree(tpc_stats->max_reg_allowed_power.reg_pwr_array);
  7674			kfree(tpc_stats->rates_array1.rate_array);
  7675			kfree(tpc_stats->rates_array2.rate_array);
  7676			kfree(tpc_stats->ctl_array.ctl_pwr_table);
  7677			kfree(tpc_stats);
  7678			ar->debug.tpc_stats = NULL;
  7679		}
  7680	}
  7681	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux