diff options
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_transport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 289bc0f125f9..2869fb7d2c05 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -4451,8 +4451,8 @@ int transport_send_check_condition_and_sense( | |||
4451 | /* CURRENT ERROR */ | 4451 | /* CURRENT ERROR */ |
4452 | buffer[offset] = 0x70; | 4452 | buffer[offset] = 0x70; |
4453 | buffer[offset+SPC_ADD_SENSE_LEN_OFFSET] = 10; | 4453 | buffer[offset+SPC_ADD_SENSE_LEN_OFFSET] = 10; |
4454 | /* ABORTED COMMAND */ | 4454 | /* ILLEGAL REQUEST */ |
4455 | buffer[offset+SPC_SENSE_KEY_OFFSET] = ABORTED_COMMAND; | 4455 | buffer[offset+SPC_SENSE_KEY_OFFSET] = ILLEGAL_REQUEST; |
4456 | /* INVALID FIELD IN CDB */ | 4456 | /* INVALID FIELD IN CDB */ |
4457 | buffer[offset+SPC_ASC_KEY_OFFSET] = 0x24; | 4457 | buffer[offset+SPC_ASC_KEY_OFFSET] = 0x24; |
4458 | break; | 4458 | break; |
@@ -4460,8 +4460,8 @@ int transport_send_check_condition_and_sense( | |||
4460 | /* CURRENT ERROR */ | 4460 | /* CURRENT ERROR */ |
4461 | buffer[offset] = 0x70; | 4461 | buffer[offset] = 0x70; |
4462 | buffer[offset+SPC_ADD_SENSE_LEN_OFFSET] = 10; | 4462 | buffer[offset+SPC_ADD_SENSE_LEN_OFFSET] = 10; |
4463 | /* ABORTED COMMAND */ | 4463 | /* ILLEGAL REQUEST */ |
4464 | buffer[offset+SPC_SENSE_KEY_OFFSET] = ABORTED_COMMAND; | 4464 | buffer[offset+SPC_SENSE_KEY_OFFSET] = ILLEGAL_REQUEST; |
4465 | /* INVALID FIELD IN PARAMETER LIST */ | 4465 | /* INVALID FIELD IN PARAMETER LIST */ |
4466 | buffer[offset+SPC_ASC_KEY_OFFSET] = 0x26; | 4466 | buffer[offset+SPC_ASC_KEY_OFFSET] = 0x26; |
4467 | break; | 4467 | break; |