WSL2-Linux-Kernel/drivers/hwmon/pmbus
Josh Lehan 8ba75b2028 hwmon: (pmbus/core) Use s64 instead of long for calculations
Using s64 type, instead of long type, for internal calculations and for
the sysfs interface.

This allows 64-bit values to appear correctly on 32-bit kernels.
As wattage is reported in microwatts, monitoring a power supply over
2KW requires this.

Although it may seem unlikely to run a 32-bit kernel on such a large
machine, enterprise servers often include a BMC, and the BMC might be
running a 32-bit kernel.

Signed-off-by: Josh Lehan <krellan@google.com>
[groeck: Removed Change-Id and other tags, reformatted description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2020-07-24 07:44:57 -07:00
..
Kconfig
Makefile
adm1275.c
bel-pfe.c
ibm-cffps.c
inspur-ipsps.c
ir35221.c
ir38064.c
irps5401.c
isl68137.c
lm25066.c
ltc2978.c
ltc3815.c
max8688.c
max16064.c
max16601.c
max20730.c
max20751.c
max31785.c
max34440.c
pmbus.c
pmbus.h
pmbus_core.c
pxe1610.c
tps40422.c
tps53679.c
ucd9000.c
ucd9200.c
xdpe12284.c
zl6100.c