]> 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)
commit2fa068be2e11da5935db8091948f00e67f672b7d
tree40659163a49d269a65bad6b76b2ebf7d88195c44
parent237e6766b55fddc249b016a1b8d3ffde86f5ce11
[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