From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx> --- drivers/target/target_core_transport.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 4b9b716..1882251 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -3325,7 +3325,7 @@ static int transport_generic_cmd_sequencer( goto out_unsupported_cdb; } break; - case 0xa3: + case MAINTENANCE_IN: if (TRANSPORT(dev)->get_device_type(dev) != TYPE_ROM) { /* MAINTENANCE_IN from SCC-2 */ /* @@ -3395,7 +3395,7 @@ static int transport_generic_cmd_sequencer( size = READ_POSITION_LEN; cmd->se_cmd_flags |= SCF_SCSI_CONTROL_NONSG_IO_CDB; break; - case 0xa4: + case MAINTENANCE_OUT: if (TRANSPORT(dev)->get_device_type(dev) != TYPE_ROM) { /* MAINTENANCE_OUT from SCC-2 * -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html