[ath6kl:pending 21/26] drivers/net/wireless/ath/wcn36xx/main.c:1158:6: warning: no previous prototype for 'wcn36xx_set_rekey_data'

kernel test robot lkp at intel.com
Sun May 23 06:43:33 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   a9cccebc0c3b91c2e5d2033d11def1e6f7fc74d4
commit: 1d8370dacd1e89cfedac0b1b38e244aa5f3b4cef [21/26] wcn36xx: Add set_rekey_data callback
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=1d8370dacd1e89cfedac0b1b38e244aa5f3b4cef
        git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
        git fetch --no-tags ath6kl pending
        git checkout 1d8370dacd1e89cfedac0b1b38e244aa5f3b4cef
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

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

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/wcn36xx/main.c:1092:23: warning: no previous prototype for 'wcn36xx_get_first_vif' [-Wmissing-prototypes]
    1092 | struct ieee80211_vif *wcn36xx_get_first_vif(struct wcn36xx *wcn)
         |                       ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/wcn36xx/main.c:1158:6: warning: no previous prototype for 'wcn36xx_set_rekey_data' [-Wmissing-prototypes]
    1158 | void wcn36xx_set_rekey_data(struct ieee80211_hw *hw,
         |      ^~~~~~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/wcn36xx/main.c:1243:6: warning: no previous prototype for 'wcn36xx_ipv6_addr_change' [-Wmissing-prototypes]
    1243 | void wcn36xx_ipv6_addr_change(struct ieee80211_hw *hw,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/wcn36xx_set_rekey_data +1158 drivers/net/wireless/ath/wcn36xx/main.c

  1157	
> 1158	void wcn36xx_set_rekey_data(struct ieee80211_hw *hw,
  1159				    struct ieee80211_vif *vif,
  1160				    struct cfg80211_gtk_rekey_data *data)
  1161	{
  1162		struct wcn36xx *wcn = hw->priv;
  1163		struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif);
  1164	
  1165		mutex_lock(&wcn->conf_mutex);
  1166	
  1167		memcpy(vif_priv->rekey_data.kek, data->kek, NL80211_KEK_LEN);
  1168		memcpy(vif_priv->rekey_data.kck, data->kck, NL80211_KCK_LEN);
  1169		vif_priv->rekey_data.replay_ctr =
  1170			cpu_to_le64(be64_to_cpup((__be64 *)data->replay_ctr));
  1171		vif_priv->rekey_data.valid = true;
  1172	
  1173		mutex_unlock(&wcn->conf_mutex);
  1174	}
  1175	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 68132 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20210523/54d3a9d5/attachment-0001.gz>


More information about the ath10k mailing list