>>>>> "Sagi" == Sagi Grimberg <sagig@xxxxxxxxxxxx> writes: Sagi> From: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> Move the code Sagi> for translating a sense_reason_t code into a SCSI status ASC and Sagi> ASCQ codes from transport_send_check_condition_and_sense() into Sagi> the new function translate_sense_reason(). Convert the switch Sagi> statement that performs the translation into table-driven code. Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering -- 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