tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup head: 9cacba94c6118dd96276ffe745dbad51dd4fe6b4 commit: fcddd5673a9b29a3c2004e1b5296286686556ae9 [104/111] ath11k: Add htt peer stats support config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout fcddd5673a9b29a3c2004e1b5296286686556ae9 # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag Reported-by: kbuild test robot <[email protected]> All error/warnings (new ones prefixed by >>): In file included from drivers/net//wireless/ath/ath11k/core.h:17:0, from drivers/net//wireless/ath/ath11k/debugfs_sta.c:6: drivers/net//wireless/ath/ath11k/dp.h: In function 'dp_peer_map_get_mac_addr': drivers/net//wireless/ath/ath11k/dp.h:1303:13: error: implicit declaration of function 'swap32'; did you mean 'swab32'? [-Werror=implicit-function-declaration] addr_l32 = swap32(addr_l32); ^~~~~~ swab32 drivers/net//wireless/ath/ath11k/dp.h:1304:13: error: implicit declaration of function 'swap16'; did you mean 'swab16'? [-Werror=implicit-function-declaration] addr_h16 = swap16(addr_h16); ^~~~~~ swab16 drivers/net//wireless/ath/ath11k/debugfs_sta.c: In function 'ath11k_dbg_sta_open_htt_peer_stats': >> drivers/net//wireless/ath/ath11k/debugfs_sta.c:394:14: error: implicit >> declaration of function 'vzalloc'; did you mean 'kvzalloc'? >> [-Werror=implicit-function-declaration] stats_req = vzalloc(sizeof(*stats_req) + ATH11K_HTT_STATS_BUF_SIZE); ^~~~~~~ kvzalloc >> drivers/net//wireless/ath/ath11k/debugfs_sta.c:394:12: warning: assignment >> makes pointer from integer without a cast [-Wint-conversion] stats_req = vzalloc(sizeof(*stats_req) + ATH11K_HTT_STATS_BUF_SIZE); ^ >> drivers/net//wireless/ath/ath11k/debugfs_sta.c:407:2: error: implicit >> declaration of function 'vfree'; did you mean 'kvfree'? >> [-Werror=implicit-function-declaration] vfree(stats_req); ^~~~~ kvfree cc1: some warnings being treated as errors vim +394 drivers/net//wireless/ath/ath11k/debugfs_sta.c 384 385 static int 386 ath11k_dbg_sta_open_htt_peer_stats(struct inode *inode, struct file *file) 387 { 388 struct ieee80211_sta *sta = inode->i_private; 389 struct ath11k_sta *arsta = (struct ath11k_sta *)sta->drv_priv; 390 struct ath11k *ar = arsta->arvif->ar; 391 struct debug_htt_stats_req *stats_req; 392 int ret; 393 > 394 stats_req = vzalloc(sizeof(*stats_req) + > ATH11K_HTT_STATS_BUF_SIZE); 395 if (!stats_req) 396 return -ENOMEM; 397 398 stats_req->type = ATH11K_DBG_HTT_EXT_STATS_PEER_INFO; 399 memcpy(stats_req->peer_addr, sta->addr, ETH_ALEN); 400 ret = ath11k_dbg_htt_stats_req(ar, stats_req); 401 if (ret < 0) 402 goto out; 403 404 file->private_data = stats_req; 405 return 0; 406 out: > 407 vfree(stats_req); 408 return ret; 409 } 410 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
