]> 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)
commitb81f52d5d8819ca9678c68a9e89a9561e1bb983d
tree1ddd0339234ca208e35582afe94b1c4d8a1dadc6
parent0d087715ddef717c224f0e9d04893f4d454b0f30
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