projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a54cd
)
misc: mic: mark expected switch fall-through
author
Gustavo A. R. Silva
<
[email protected]
>
Tue, 3 Jul 2018 22:36:29 +0000
(17:36 -0500)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 7 Jul 2018 15:38:57 +0000
(17:38 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/misc/mic/scif/scif_api.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mic/scif/scif_api.c
b/drivers/misc/mic/scif/scif_api.c
index 7b2dddcdd46d5200421c4065e5480f5d6a0e1c29..463f06d0b4ef12bcf82276e8939ae15b4a6f14b7 100644
(file)
--- a/
drivers/misc/mic/scif/scif_api.c
+++ b/
drivers/misc/mic/scif/scif_api.c
@@
-187,6
+187,7
@@
int scif_close(scif_epd_t epd)
case SCIFEP_ZOMBIE:
dev_err(scif_info.mdev.this_device,
"SCIFAPI close: zombie state unexpected\n");
+ /* fall through */
case SCIFEP_DISCONNECTED:
spin_unlock(&ep->lock);
scif_unregister_all_windows(epd);