diff options
author | Guenter Roeck <[email protected]> | 2011-07-10 19:31:29 -0700 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2011-07-12 06:45:45 -0700 |
commit | f450c1504d3ff6aace3927c805bdea0ac0669efd (patch) | |
tree | a12038dc7638dfe4cb7fee745aff259e8857104c /net/lapb/lapb_timer.c | |
parent | 620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc (diff) |
hwmon: (pmbus) Use long variables for register to data conversions
Using integer variable types for register to data conversions can cause
overflows especially for power calculations, which are in microwatt.
Use long variables instead.
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Cc: [email protected] # 2.6.39+
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions