[kvalo-ath:ath11k-testmode 6/7] drivers/net/wireless/ath/ath12k/testmode.c:28:16: warning: no previous prototype for 'ath12k_tm_get_ar'
kernel test robot
lkp at intel.com
Wed Sep 13 12:23:50 PDT 2023
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-testmode
head: ba2a7d5c57ba0703f64cf849c0299ac23eb1c1f5
commit: b50dc57cafcdbdeab2e799fa6e3148498e7805d7 [6/7] wifi: ath12k: add factory test mode support
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230914/202309140338.JIMolIml-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230914/202309140338.JIMolIml-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/202309140338.JIMolIml-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/wireless/ath/ath12k/testmode.c:28:16: warning: no previous prototype for 'ath12k_tm_get_ar' [-Wmissing-prototypes]
28 | struct ath12k *ath12k_tm_get_ar(struct ath12k_base *ab)
| ^~~~~~~~~~~~~~~~
vim +/ath12k_tm_get_ar +28 drivers/net/wireless/ath/ath12k/testmode.c
27
> 28 struct ath12k *ath12k_tm_get_ar(struct ath12k_base *ab)
29 {
30 struct ath12k_pdev *pdev;
31 struct ath12k *ar;
32 int i;
33
34 for (i = 0; i < ab->num_radios; i++) {
35 pdev = &ab->pdevs[i];
36 ar = pdev->ar;
37
38 if (ar && ar->state == ATH12K_STATE_TM)
39 return ar;
40 }
41
42 return NULL;
43 }
44
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the ath10k
mailing list