]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: consolidate opcode lookup in scsi_opcode_sa_name()
authorHannes Reinecke <hare@suse.de>
Fri, 24 Oct 2014 12:26:56 +0000 (14:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:03 +0000 (11:16 +0100)
commit26448786cef440ea77362f5e7f9a7c3bed8ea5d2
tree4c1a052410411ce08b2093776019e483330eec35
parent562f3856eb1bcf405eded23ca2553fceb68ba9f3
scsi: consolidate opcode lookup in scsi_opcode_sa_name()

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 <hare@suse.de>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/constants.c