[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)
commit28ce280fe46f0ba90c7df26d9fa5ba21a2e8a6bc
tree40659163a49d269a65bad6b76b2ebf7d88195c44
parent56f2a8016e0ab54de8daaac3df4712cad0fcef2e
[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