From: James Bottomley Date: Wed, 24 Jul 2013 19:43:18 +0000 (-0700) Subject: [SCSI] isci: fix breakage caused by >16byte CDB patch X-Git-Tag: v3.11-rc3~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1be09808e030d57bb743618eb41e2bc31dd464c;p=pandora-kernel.git [SCSI] isci: fix breakage caused by >16byte CDB patch Oops, apparently no-one I cc'd at intel actually bothered to check this patch for the isci driver: commit e73823f7a2c921dcf068d34ea03bd682498d9e42 Author: James Bottomley Date: Tue May 7 15:38:18 2013 -0700 [SCSI] libsas: implement > 16 byte CDB support sci_swab32_cpy needs multiples of four, so for commands that aren't that, it's rounding the wrong way. fix by doing (len+3)/4 instead of len/4. Reported-by: Tony Luck Tested-by: Tony Luck Signed-off-by: James Bottomley --- Reading git-diff-tree failed