]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 3w-xxxx: Create sense buffer for unsupported commands
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2013 16:13:01 +0000 (12:13 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Jun 2013 23:32:22 +0000 (16:32 -0700)
commit88bd41c6f1f1fa7605d346155b2bd87df1af7f80
tree40659163a49d269a65bad6b76b2ebf7d88195c44
parenta931435341a9ef3fd0395a2ebd61c94011bed8c0
[SCSI] 3w-xxxx: Create sense buffer for unsupported commands

Make the driver return appropriate sense data when an unsupported
operation is queued. This will cause the SCSI layer to stop issuing the
offending command.

Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/3w-xxxx.c