10194 iscsi: this statement may fall through
Review Request #1353 — Created Jan. 9, 2019 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10194 | |
7ce7988... | |
Reviewers | |
general | |
../../common/io/scsi/adapters/iscsi/iscsi_login.c:2069:3: error: this statement may fall through [-Werror=implicit-fallthrough=] switch (status_detail) { ^~~~~~ ../../common/io/scsi/adapters/iscsi/iscsi_login.c:2075:2: note: here case 0x01: ^~~~ ../../common/io/scsi/adapters/iscsi/iscsi_login.c:2076:3: error: this statement may fall through [-Werror=implicit-fallthrough=] switch (status_detail) { ^~~~~~ ../../common/io/scsi/adapters/iscsi/iscsi_login.c:2086:2: note: here case 0x02: ^~~~ ../../common/io/scsi/adapters/iscsi/iscsi_login.c:2087:3: error: this statement may fall through [-Werror=implicit-fallthrough=] switch (status_detail) { ^~~~~~ ../../common/io/scsi/adapters/iscsi/iscsi_login.c:2125:2: note: here case 0x03: ^~~~ cc1: all warnings being treated as errors
-
-
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_login.c (Diff revision 1) What if remove this 'default: break' ?