Re: [PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-27 Thread Rob Lippert
On Wed, Nov 22, 2017 at 2:28 PM, Guenter Roeck wrote: > On Wed, Nov 22, 2017 at 02:08:43PM -0800, Robert Lippert wrote: >> 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

Re: [PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-27 Thread Rob Lippert
On Wed, Nov 22, 2017 at 2:28 PM, Guenter Roeck wrote: > On Wed, Nov 22, 2017 at 02:08:43PM -0800, Robert Lippert wrote: >> 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

Re: [PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-25 Thread kbuild test robot
Hi Robert, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.14 next-20171124] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-25 Thread kbuild test robot
Hi Robert, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.14 next-20171124] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-22 Thread Guenter Roeck
On Wed, Nov 22, 2017 at 02:08:43PM -0800, Robert Lippert wrote: > 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. > > Signed-off-by:

Re: [PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-22 Thread Guenter Roeck
On Wed, Nov 22, 2017 at 02:08:43PM -0800, Robert Lippert wrote: > 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. > > Signed-off-by:

[PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-22 Thread Robert Lippert
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. Signed-off-by: Robert Lippert --- drivers/hwmon/pmbus/pmbus_core.c | 21

[PATCH] hwmon: (pmbus) Use 64bit math for DIRECT format values

2017-11-22 Thread Robert Lippert
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. Signed-off-by: Robert Lippert --- drivers/hwmon/pmbus/pmbus_core.c | 21 -