ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [ath6kl:pending 21/26] drivers/net/wireless/ath/wcn36xx/main.c:1158:6: warning: no previous prototype for 'wcn36xx_set_rekey_data'
@ 2021-05-23 13:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-23 13:43 UTC (permalink / raw)
  To: Bryan O'Donoghue; +Cc: kbuild-all, Kalle Valo, ath10k

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

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

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

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

_______________________________________________
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:[~2021-05-23 13:44 UTC | newest]

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

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).