Hi Ma,

kernel test robot noticed the following build errors:

[auto build test ERROR on v6.7-rc1]
[also build test ERROR on next-20231205]
[cannot apply to drm-misc/drm-misc-next wireless-next/main wireless/main 
linus/master v6.7-rc3 v6.7-rc2]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Ma-Jun/Documentation-driver-api-Add-document-about-WBRF-mechanism/20231129-181516
base:   v6.7-rc1
patch link:    
https://lore.kernel.org/r/20231129091348.3972539-5-Jun.Ma2%40amd.com
patch subject: [PATCH v14 4/9] wifi: mac80211: Add support for WBRF features
config: arm-randconfig-004-20231201 
(https://download.01.org/0day-ci/archive/20231206/202312061213.9yue2rgp-...@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20231206/202312061213.9yue2rgp-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202312061213.9yue2rgp-...@intel.com/

All errors (new ones prefixed by >>):

   net/mac80211/wbrf.c: In function 'ieee80211_add_wbrf':
>> net/mac80211/wbrf.c:79:9: error: implicit declaration of function 
>> 'acpi_amd_wbrf_add_remove'; did you mean 'acpi_amd_wbrf_add_exclusion'? 
>> [-Werror=implicit-function-declaration]
      79 |         acpi_amd_wbrf_add_remove(dev, WBRF_RECORD_ADD, &ranges_in);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~
         |         acpi_amd_wbrf_add_exclusion
   cc1: some warnings being treated as errors


vim +79 net/mac80211/wbrf.c

    66  
    67  void ieee80211_add_wbrf(struct ieee80211_local *local, struct 
cfg80211_chan_def *chandef)
    68  {
    69          struct wbrf_ranges_in_out ranges_in = {0};
    70          struct device *dev;
    71  
    72          if (!local->wbrf_supported)
    73                  return;
    74  
    75          dev = local->hw.wiphy->dev.parent;
    76  
    77          get_ranges_from_chandef(chandef, &ranges_in);
    78  
  > 79          acpi_amd_wbrf_add_remove(dev, WBRF_RECORD_ADD, &ranges_in);
    80  }
    81  

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

Reply via email to