Fix another compiler warning

We do need a default: arm here as the switch is not supposed to deal with
all possible values for the enum.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2017-06-03 11:33:51 -07:00
parent 854e37aab7
commit fb45f0343e
+3
View File
@@ -2939,6 +2939,9 @@ void populate_ident_tgt_desc(unsigned char *buf, struct scsi_device *dev)
tgt_desig = desig; tgt_desig = desig;
prev_type = desig->designator_type; prev_type = desig->designator_type;
} }
continue;
default:
continue;
} }
} }
if (tgt_desig == NULL) { if (tgt_desig == NULL) {