diff options
author | Guenter Roeck <[email protected]> | 2012-06-21 06:21:05 -0700 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2012-07-21 21:48:44 -0700 |
commit | 75311bea569d7ea77a5a3c5395bae27bb8a2df96 (patch) | |
tree | 2ce0cbffa47a9af6640a22f536d081a14d3a85f3 /net/lapb/lapb_in.c | |
parent | 27c4db3996ef0d27fb25e6991ebf6e507a920937 (diff) |
hwmon: (acpi_power_meter) Fix unintentional integer overflow
Expression with two integer variables is calculated as integer before it is
converted to u64. This may result in an integer overflow. Fix by declaring
trip point variables as s64 instead of int.
This patch addresses Coverity #200596: Unintentional integer overflow.
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions