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:
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 message
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: https://git.kernel.org/pub/scm/linux/kernel/
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: https://git.kernel
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
ath11k-
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 258bbf525e652e244aa8b233
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: sh4-linux
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 pars