Re: [PATCH 13/20] scsi: consolidate opcode lookup in scsi_opcode_sa_name()

2014-09-05 Thread Christoph Hellwig
> + *cdb_name = NULL; > + if (cmd >= 0xc0) Can we get a START_VENDOR_SPECIFIC_CMD or similar define for 0xc0, please? Otherwise looks good to me, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...

[PATCH 13/20] scsi: consolidate opcode lookup in scsi_opcode_sa_name()

2014-09-03 Thread Hannes Reinecke
Consolidate the CDB opcode lookup in scsi_opcode_sa_name(), so that we don't have to call several functions to figure out the CDB opcode string. Signed-off-by: Hannes Reinecke --- drivers/scsi/constants.c | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-