]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] ipr: set the data list length in the request control block
authorWayne Boyer <wayneb@linux.vnet.ibm.com>
Fri, 14 May 2010 15:55:13 +0000 (08:55 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 May 2010 16:11:06 +0000 (11:11 -0500)
commitb8803b1cef28af785c4e903b9b1449898d68c758
tree7415f2759f91ed85db4219bbd27992a8a6d2ad0d
parent7be96900a2a662c67403559acd250f011b1d70db
[SCSI] ipr: set the data list length in the request control block

In bring up testing for the new 64 bit adapters, the first read command failed
after loading the driver.  The cause was that the command requires more than
one scatter gather element and the corresponding code to set the data list
length in the request control block was missing.  This patch adds the correct
assignment.

Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c