ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [kvalo-ath:ath11k-testmode 6/7] drivers/net/wireless/ath/ath12k/testmode.c:28:16: warning: no previous prototype for 'ath12k_tm_get_ar'
@ 2023-09-13 19:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-13 19:23 UTC (permalink / raw)
  To: Aaradhana Sahu; +Cc: oe-kbuild-all, Kalle Valo, ath10k, Kalle Valo

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@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

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-13 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 19:23 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox