diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-03 18:36:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 11:38:57 -0400 |
commit | bcde98fcf9cf084f6ed6c1751d2ef68877a87c20 (patch) | |
tree | 5e77d5db442341383c1965640d1b8c301c496db9 /drivers/misc | |
parent | f1a54cddbbc36ebf1e8ce10a3e1fa5f8a4ce9613 (diff) |
misc: mic: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mic/scif/scif_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/mic/scif/scif_api.c b/drivers/misc/mic/scif/scif_api.c index 7b2dddcdd46d..463f06d0b4ef 100644 --- 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) | |||
187 | case SCIFEP_ZOMBIE: | 187 | case SCIFEP_ZOMBIE: |
188 | dev_err(scif_info.mdev.this_device, | 188 | dev_err(scif_info.mdev.this_device, |
189 | "SCIFAPI close: zombie state unexpected\n"); | 189 | "SCIFAPI close: zombie state unexpected\n"); |
190 | /* fall through */ | ||
190 | case SCIFEP_DISCONNECTED: | 191 | case SCIFEP_DISCONNECTED: |
191 | spin_unlock(&ep->lock); | 192 | spin_unlock(&ep->lock); |
192 | scif_unregister_all_windows(epd); | 193 | scif_unregister_all_windows(epd); |