Hi Bhagavathi, FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup head: 65ab8594d0cf26d1378bd8d040e93a393c446d95 commit: fcddd5673a9b29a3c2004e1b5296286686556ae9 [104/136] ath11k: Add htt peer stats support config: sh-allmodconfig (attached as .config) compiler: sh4-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=sh If you fix the issue, kindly add following tag Reported-by: kbuild test robot <[email protected]> All errors (new ones prefixed by >>): 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
