Hi Kalle, FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup head: e9d0fb7dcc6a0004a2f68be4feafa2a1561167c4 commit: 258bbf525e652e244aa8b2331f55fda573fbe926 [3/102] ath11k: add driver 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 258bbf525e652e244aa8b2331f55fda573fbe926 # 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/debug_htt_stats.c: In function 'ath11k_read_htt_stats': >> drivers/net//wireless/ath/ath11k/debug_htt_stats.c:4696:14: error: implicit >> declaration of function 'vmalloc'; did you mean 'kvmalloc'? >> [-Werror=implicit-function-declaration] stats_req = vmalloc(sizeof(*stats_req) + ^~~~~~~ kvmalloc drivers/net//wireless/ath/ath11k/debug_htt_stats.c:4696:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] stats_req = vmalloc(sizeof(*stats_req) + ^ >> drivers/net//wireless/ath/ath11k/debug_htt_stats.c:4734: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 +4696 drivers/net//wireless/ath/ath11k/debug_htt_stats.c 4683 4684 static ssize_t ath11k_read_htt_stats(struct file *file, 4685 char __user *user_buf, 4686 size_t count, loff_t *ppos) 4687 { 4688 struct ath11k *ar = file->private_data; 4689 struct ath11k_base *ab = ar->ab; 4690 struct debug_htt_stats_req *stats_req; 4691 char *buf = NULL; 4692 u32 length = 0; 4693 int ret, pdev_id; 4694 u64 cookie = 0; 4695 > 4696 stats_req = vmalloc(sizeof(*stats_req) + 4697 ATH11K_HTT_STATS_BUF_SIZE); 4698 if (!stats_req) 4699 return -ENOMEM; 4700 4701 init_completion(&stats_req->cmpln); 4702 4703 stats_req->done = false; 4704 stats_req->pdev_id = ar->pdev->pdev_id; 4705 4706 cookie |= (u32)stats_req; 4707 mutex_lock(&ar->conf_mutex); 4708 pdev_id = stats_req->pdev_id; 4709 ret = ath11k_dp_htt_h2t_ext_stats_req(ar, 4710 ab->pdevs[pdev_id].debug.htt_stats_type, 4711 cookie); 4712 mutex_unlock(&ar->conf_mutex); 4713 if (ret) { 4714 ath11k_warn(ab, "failed to send htt stats request: %d\n", ret); 4715 goto out; 4716 } 4717 4718 while (!wait_for_completion_timeout(&stats_req->cmpln, 3 * HZ)) { 4719 spin_lock_bh(&ab->pdevs[pdev_id].debug.stats_lock); 4720 if (!stats_req->done) { 4721 stats_req->done = true; 4722 spin_unlock_bh(&ab->pdevs[pdev_id].debug.stats_lock); 4723 ret = -ETIMEDOUT; 4724 ath11k_warn(ab, "suspend timed out - pdev pause event never came\n"); 4725 break; 4726 } 4727 spin_unlock_bh(&ab->pdevs[pdev_id].debug.stats_lock); 4728 } 4729 4730 buf = stats_req->buf; 4731 length = min_t(u32, stats_req->buf_len, ATH11K_HTT_STATS_BUF_SIZE); 4732 out: 4733 count = simple_read_from_buffer(user_buf, count, ppos, buf, length); > 4734 vfree(stats_req); 4735 return count; 4736 } 4737 --- 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
