aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_os.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-11-27 22:33:43 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-11 21:05:03 -0500
commitfc9ac87eabb23b4c354cd2f3b89d94a0db9f9fdc (patch)
tree75d0a92ba8a4b8a6d2809214ad70f6a3a9e4bb71 /drivers/scsi/qla4xxx/ql4_os.c
parentscsi: bnx2i: fix indentation issue, remove a tab (diff)
downloadlinux-dev-fc9ac87eabb23b4c354cd2f3b89d94a0db9f9fdc.tar.xz
linux-dev-fc9ac87eabb23b4c354cd2f3b89d94a0db9f9fdc.zip
scsi: qla4xxx: ql4_os: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that, in this particular case, I replaced "allow fall-through" with a "fall through" annotation, which is what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_os.c')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 949e186cc5d7..0a1940f947dc 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -2875,7 +2875,7 @@ static int qla4xxx_session_get_param(struct iscsi_cls_session *cls_sess,
chap_tbl.secret_len);
}
}
- /* allow fall-through */
+ /* fall through */
default:
return iscsi_session_get_param(cls_sess, param, buf);
}