]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Mar 2012 17:49:21 +0000 (09:49 -0800)
commit95964a5eb5071a17bfb6b196417749407a5254f0
tree30d25ca8a95b6428bfee8f6968ff0913859401f3
parentcce3ac26c143a639332fc92f8d0105e2e9f2256c
SCSI: 3w-9xxx fix bug in sgl loading

commit 53ca353594a254e6bd45ccf2d405aa31bcbb7091 upstream.

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>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/3w-9xxx.c