OpenCloudOS-Kernel/drivers/misc/mic
Gustavo A. R. Silva b304da7025 misc: mic/scif: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warning:

drivers/misc/mic/scif/scif_rma.c: In function ‘scif_unregister_window’:
drivers/misc/mic/scif/scif_rma.c:665:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
   send_msg = true;
   ~~~~~~~~~^~~~~~
drivers/misc/mic/scif/scif_rma.c:668:2: note: here
  case OP_IN_PROGRESS:
  ^~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

Notice that, in this particular case, the code comment is modified
in accordance with what GCC is expecting to find.

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-27 16:00:20 +01:00
..
bus mic: Rename ioremap pointer to remap 2019-02-26 12:54:55 +01:00
card mic: Rename ioremap pointer to remap 2019-02-26 12:54:55 +01:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
cosm_client misc: mic: fix passing the current time 2018-07-07 17:44:52 +02:00
host mic: Rename ioremap pointer to remap 2019-02-26 12:54:55 +01:00
scif misc: mic/scif: mark expected switch fall-through 2019-02-27 16:00:20 +01:00
vop mic: Rename ioremap pointer to remap 2019-02-26 12:54:55 +01:00
Kconfig mic: vop: Allow building on more systems 2019-02-26 12:54:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00