hpsa: correct transfer length for 6 byte read/write commands
authorDon Brace <[email protected]>
Wed, 4 Nov 2015 21:50:50 +0000 (15:50 -0600)
committerMartin K. Petersen <[email protected]>
Mon, 9 Nov 2015 17:34:19 +0000 (12:34 -0500)
commitc8a6c9a6b41367d147990756b311ed5a67f19005
tree092346d12b5cafa2a9a9b94e35d920df938cae24
parent683fc444697a388f17cbc3bd7e64191ce000b6b4
hpsa: correct transfer length for 6 byte read/write commands

handle block counts of 0. Cleanup block and block count calculations.

Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Justin Lindley <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Reviewed-by: Tomas Henzl <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/hpsa.c