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 <l...@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-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

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

Reply via email to