summaryrefslogtreecommitdiff
path: root/drivers/hwmon/max197.c
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2013-07-24 23:43:18 +0400
committerJames Bottomley <JBottomley@Parallels.com>2013-07-25 01:18:12 +0400
commite1be09808e030d57bb743618eb41e2bc31dd464c (patch)
treed17034c79f22fbd304ab95146e8f9de22ad30f96 /drivers/hwmon/max197.c
parent53a983c4f8b4246f5ff00567411be55967b0350a (diff)
downloadlinux-e1be09808e030d57bb743618eb41e2bc31dd464c.tar.xz
[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 <JBottomley@Parallels.com> 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 <tony.luck@intel.com> Tested-by: Tony Luck <tony.luck@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/hwmon/max197.c')
0 files changed, 0 insertions, 0 deletions