ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aaradhana Sahu <quic_aarasahu@quicinc.com>
Cc: oe-kbuild-all@lists.linux.dev, Kalle Valo <kvalo@codeaurora.org>,
	ath10k@lists.infradead.org, Kalle Valo <quic_kvalo@quicinc.com>
Subject: [kvalo-ath:ath11k-testmode 6/7] drivers/net/wireless/ath/ath12k/testmode.c:28:16: warning: no previous prototype for 'ath12k_tm_get_ar'
Date: Thu, 14 Sep 2023 03:23:50 +0800	[thread overview]
Message-ID: <202309140338.JIMolIml-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-09-13 19:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202309140338.JIMolIml-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=kvalo@codeaurora.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=quic_aarasahu@quicinc.com \
    --cc=quic_kvalo@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox