summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorRobert Lippert <roblip@gmail.com>2017-11-27 15:51:55 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-03 17:04:28 +0100
commit8de0ae8c8bc37e51e2e46ec13145bc8b3f1efe8f (patch)
tree85b67916ef7215ccd978333d33faf45c6487a4eb /net/lapb/lapb_in.c
parent17375b2735010a400620ca378e4ccd7faafc74e3 (diff)
hwmon: (pmbus) Use 64bit math for DIRECT format values
[ Upstream commit bd467e4eababe4c04272c1e646f066db02734c79 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions