aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorJosh Lehan <krellan@google.com>2020-06-25 17:13:43 -0700
committerGuenter Roeck <linux@roeck-us.net>2020-07-24 07:44:57 -0700
commit8ba75b2028496777a7d595ed5ba03cc85f86bdbb (patch)
tree3b75eadddf861bb8386d2a54af9d7cfbb6ee6b7e /Documentation/hwmon
parenthwmon: (pmbus/max20730) Add max20710 support (diff)
downloadlinux-dev-8ba75b2028496777a7d595ed5ba03cc85f86bdbb.tar.xz
linux-dev-8ba75b2028496777a7d595ed5ba03cc85f86bdbb.zip
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>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions