From 617c48e1382f20693b5ad35214d1d7f38db7d28d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 27 Aug 2017 15:40:42 +0000 Subject: [PATCH] scst: More fall-through annotations for gcc 7 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7217 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- scst/src/scst_targ.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 0f1102235..8c3c3b427 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -2941,7 +2941,7 @@ static bool vdisk_use_zero_copy(const struct scst_cmd *cmd) case VARIABLE_LENGTH_CMD: if (cmd->cdb[9] != SUBCODE_READ_32) break; - /* else go througth */ + /* fall through */ case READ_6: case READ_10: case READ_12: diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index d16427082..d6c14cb2c 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -3856,7 +3856,7 @@ defer: case SCST_QERR_3_ABORT_THIS_NEXUS_ONLY: if (!this_nex) goto defer; - /* else go through */ + /* fall through */ case SCST_QERR_1_ABORT_ALL: TRACE_MGMT_DBG("Aborting cmd %p due to " "ACA active (tgt_dev %p)", cmd,