]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 3w-9xxx fix bug in sgl loading
authoradam radford <aradford@gmail.com>
Thu, 10 Dec 2009 19:53:31 +0000 (11:53 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Dec 2009 22:45:23 +0000 (16:45 -0600)
commit3da6ef61e0c47fd545c940e8c917b6566a8e026f
tree1dfce24a2b996281aa1d30912de0c9345a3a9519
parentb8596711e285a5948271835877e781bae6d7a01f
[SCSI] 3w-9xxx fix bug in sgl loading

This small patch fixes a bug in the 3w-9xxx driver where it would load
an invalid sgl address in the ioctl path even if request length was zero.

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/3w-9xxx.c