projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edfcf2
)
wcn36xx: Add missing fall through comment in smd.c
author
Loic Poulain
<loic.poulain@linaro.org>
Thu, 5 Apr 2018 11:51:49 +0000
(13:51 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 10 Apr 2018 14:38:55 +0000
(17:38 +0300)
This prevents GCC warning.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/smd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wcn36xx/smd.c
b/drivers/net/wireless/ath/wcn36xx/smd.c
index
5be07e4
..
9827a1e
100644
(file)
--- a/
drivers/net/wireless/ath/wcn36xx/smd.c
+++ b/
drivers/net/wireless/ath/wcn36xx/smd.c
@@
-2143,6
+2143,7
@@
static int wcn36xx_smd_hw_scan_ind(struct wcn36xx *wcn, void *buf, size_t len)
switch (rsp->type) {
case WCN36XX_HAL_SCAN_IND_FAILED:
scan_info.aborted = true;
+ /* fall through */
case WCN36XX_HAL_SCAN_IND_COMPLETED:
mutex_lock(&wcn->scan_lock);
wcn->scan_req = NULL;