[PATCH] ath11k: fix bugon.cocci warnings

2019-03-07 Thread Julia Lawall
From: kbuild test robot Use BUG_ON instead of if condition followed by BUG. Generated by: scripts/coccinelle/misc/bugon.cocci Fixes: c105b7abf400 ("ath11k: collect DDR dump after fw crash") CC: Venkateswara Naralasetty Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree:

[ath6kl:ath11k-bringup 3/42] drivers/net/wireless/ath/ath11k/qmi.c:1989:1-7: ERROR: missing iounmap; ioremap on line 1935 and execution via conditional on line 1965 (fwd)

2019-03-07 Thread Julia Lawall
The messages below about iounmap are for the function ath11k_qmi_load_bdf in qmi.c. There are three occurrences of goto out that need to jump to the iounmap above the out: label. The message about the lock is about the goto fallback on line 4103. Should the spinlock be unlocked here? The

[PATCH] ath11k: fix itnull.cocci warnings

2019-03-07 Thread Julia Lawall
From: kbuild test robot Iterator variable bound on line 976 cannot be NULL. Generated by: scripts/coccinelle/iterators/itnull.cocci Fixes: 258bbf525e65 ("ath11k: add driver") Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree:

[PATCH] ath11k: fix noderef.cocci warnings

2019-03-07 Thread Julia Lawall
From: kbuild test robot sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci Fixes: 258bbf525e65 ("ath11k: add driver") Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree:

[PATCH] ath11k: fix semicolon.cocci warnings

2019-03-07 Thread Julia Lawall
From: kbuild test robot Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 258bbf525e65 ("ath11k: add driver") Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git

[ath6kl:ath11k-bringup 3/42] drivers/net/wireless/ath/ath11k/debug_htt_stats.c:850:59: sparse: warning: Using plain integer as NULL pointer

2019-03-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup head: e7daa3ec639f390e383dae0db9e6b143bcc7b5bc commit: 258bbf525e652e244aa8b2331f55fda573fbe926 [3/42] ath11k: add driver reproduce: # apt-get install sparse git checkout

[ath6kl:ath11k-bringup 25/42] drivers/net/wireless/ath/ath11k/debug.c:358:8: error: implicit declaration of function 'vmalloc'; did you mean 'kvmalloc'?

2019-03-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup head: e7daa3ec639f390e383dae0db9e6b143bcc7b5bc commit: d25cb35c6f10ac1a9ffae4611f22cb92ba448058 [25/42] ath11k: add support for FW stats via WMI config: sh-allmodconfig (attached as .config) compiler:

Re: [PATCH] ath10k: fill the channel survey results for WCN3990 correctly

2019-03-07 Thread Greg Ungerer
Hi Rakesh, Surabhi, This patch, which is in the linux kernel as commit 13104929d2ec ("[PATCH] ath10k: fill the channel survey results for WCN3990 correctly"), is causing me problems when running linux-5.0 kernel. I see messages like this on the console: ath10k_pci :01:00.0: failed to