diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-26 11:46:20 -0600 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-08 18:37:14 -0500 |
commit | 6a29edc41e13c28d8450520195b2243e0d9efc96 (patch) | |
tree | d1c22265e5b6e2e7df3dc8cc36e4827c00ef6114 /drivers/scsi/be2iscsi/be_iscsi.c | |
parent | e2e801644eb345c563bbd0bb004907e89b932543 (diff) | |
download | linux-6a29edc41e13c28d8450520195b2243e0d9efc96.tar.gz linux-6a29edc41e13c28d8450520195b2243e0d9efc96.tar.bz2 linux-6a29edc41e13c28d8450520195b2243e0d9efc96.zip |
scsi: be2iscsi: be_iscsi: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_iscsi.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_iscsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c index 96b96e2ab91a..ed1bd369baa0 100644 --- a/drivers/scsi/be2iscsi/be_iscsi.c +++ b/drivers/scsi/be2iscsi/be_iscsi.c @@ -679,6 +679,7 @@ int beiscsi_set_param(struct iscsi_cls_conn *cls_conn, case ISCSI_PARAM_MAX_XMIT_DLENGTH: if (conn->max_xmit_dlength > 65536) conn->max_xmit_dlength = 65536; + /* fall through */ default: return 0; } |