diff options
author | Robert Lippert <roblip@gmail.com> | 2017-11-27 15:51:55 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-11-27 20:29:22 -0800 |
commit | bd467e4eababe4c04272c1e646f066db02734c79 (patch) | |
tree | c0a485e360a00fa99ce2d5aa9be80f9fbcc57e97 /Documentation | |
parent | ed81cc612c92167fe7606773e036ee5ccef6c190 (diff) | |
download | lwn-bd467e4eababe4c04272c1e646f066db02734c79.tar.gz lwn-bd467e4eababe4c04272c1e646f066db02734c79.zip |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions