diff options
| author | Guenter Roeck <[email protected]> | 2012-12-18 18:16:08 -0800 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2012-12-22 02:16:40 -0800 |
| commit | 86266ca0e23b2b8e7e38edda1675cd085a9abc14 (patch) | |
| tree | 409090b0c801c517f9a936a9b15376a82a9de696 /kernel/locking/rtmutex-debug.c | |
| parent | 0602934f302e016e2ea5dc6951681bfac77455ef (diff) | |
hwmon: (emc6w201) Fix DIV_ROUND_CLOSEST problem with unsigned divisors
Result of DIV_ROUND_CLOSEST is undefined for negative dividends if the divisor
variable type is unsigned. Fix by declaring divisor as signed variable.
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions