aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/ibmasm/module.c
diff options
context:
space:
mode:
authorRobert Lippert <roblip@gmail.com>2017-11-27 15:51:55 -0800
committerGuenter Roeck <linux@roeck-us.net>2017-11-27 20:29:22 -0800
commitbd467e4eababe4c04272c1e646f066db02734c79 (patch)
treec0a485e360a00fa99ce2d5aa9be80f9fbcc57e97 /drivers/misc/ibmasm/module.c
parented81cc612c92167fe7606773e036ee5ccef6c190 (diff)
hwmon: (pmbus) Use 64bit math for DIRECT format values
Power values in the 100s of watt range can easily blow past 32bit math limits when processing everything in microwatts. Use 64bit math instead to avoid these issues on common 32bit ARM BMC platforms. Fixes: 442aba78728e ("hwmon: PMBus device driver") Signed-off-by: Robert Lippert <rlippert@google.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions