ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Kalle Valo <kvalo@codeaurora.org>,
	ath10k@lists.infradead.org
Subject: [ath6kl:pending 19/26] drivers/net/wireless/ath/wcn36xx/main.c:1221:6: warning: no previous prototype for function 'wcn36xx_ipv6_addr_change'
Date: Tue, 25 May 2021 17:30:00 +0800	[thread overview]
Message-ID: <202105251751.Vdb909qk-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2949 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   a9cccebc0c3b91c2e5d2033d11def1e6f7fc74d4
commit: 2110d6c4c175662db2d0be1d5f246d7414fcfbad [19/26] wcn36xx: Add ipv6 address tracking
config: arm-randconfig-r015-20210525 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=2110d6c4c175662db2d0be1d5f246d7414fcfbad
        git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
        git fetch --no-tags ath6kl pending
        git checkout 2110d6c4c175662db2d0be1d5f246d7414fcfbad
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/wcn36xx/main.c:1221:6: warning: no previous prototype for function 'wcn36xx_ipv6_addr_change' [-Wmissing-prototypes]
   void wcn36xx_ipv6_addr_change(struct ieee80211_hw *hw,
        ^
   drivers/net/wireless/ath/wcn36xx/main.c:1221:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void wcn36xx_ipv6_addr_change(struct ieee80211_hw *hw,
   ^
   static 
   1 warning generated.


vim +/wcn36xx_ipv6_addr_change +1221 drivers/net/wireless/ath/wcn36xx/main.c

  1219	
  1220	#if IS_ENABLED(CONFIG_IPV6)
> 1221	void wcn36xx_ipv6_addr_change(struct ieee80211_hw *hw,
  1222				      struct ieee80211_vif *vif,
  1223				      struct inet6_dev *idev)
  1224	{
  1225		struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif);
  1226		struct inet6_ifaddr *ifa;
  1227		int idx = 0;
  1228	
  1229		memset(vif_priv->tentative_addrs, 0, sizeof(vif_priv->tentative_addrs));
  1230	
  1231		read_lock_bh(&idev->lock);
  1232		list_for_each_entry(ifa, &idev->addr_list, if_list) {
  1233			vif_priv->target_ipv6_addrs[idx] = ifa->addr;
  1234			if (ifa->flags & IFA_F_TENTATIVE)
  1235				__set_bit(idx, vif_priv->tentative_addrs);
  1236			idx++;
  1237			if (idx >= WCN36XX_HAL_IPV6_OFFLOAD_ADDR_MAX)
  1238				break;
  1239			wcn36xx_dbg(WCN36XX_DBG_MAC, "%pI6 %s\n", &ifa->addr,
  1240				    (ifa->flags & IFA_F_TENTATIVE) ? "tentative" : NULL);
  1241		}
  1242		read_unlock_bh(&idev->lock);
  1243	
  1244		vif_priv->num_target_ipv6_addrs = idx;
  1245	}
  1246	#endif
  1247	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34810 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

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

                 reply	other threads:[~2021-05-25  9:31 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=202105251751.Vdb909qk-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kvalo@codeaurora.org \
    /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;
as well as URLs for NNTP newsgroup(s).