aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 68e0d7dbe6ce..bf5191f6aaa1 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -2037,6 +2037,9 @@ scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state)
2037 2037
2038 case SDEV_DEL: 2038 case SDEV_DEL:
2039 switch (oldstate) { 2039 switch (oldstate) {
2040 case SDEV_CREATED:
2041 case SDEV_RUNNING:
2042 case SDEV_OFFLINE:
2040 case SDEV_CANCEL: 2043 case SDEV_CANCEL:
2041 break; 2044 break;
2042 default: 2045 default: