]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: implement scsi_opcode_sa_name
authorHannes Reinecke <hare@suse.de>
Fri, 24 Oct 2014 12:26:54 +0000 (14:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:02 +0000 (11:16 +0100)
commit45289f166f0cb1954ab7e13b12ac538c990de85f
tree1ddd0339234ca208e35582afe94b1c4d8a1dadc6
parent8ba0d3f6cd81e41039478817c6a6f3b0047603e9
scsi: implement scsi_opcode_sa_name

Implement a lookup array for SERVICE ACTION commands instead
of hardcoding it in a large switch statement.

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