Files
linux/drivers
Dan Carpenter 167ffc44ca drm: radeon: fix sign bug
The "error" variable is unsigned so it's never less than zero.  I
changed it to check if (freq < current_freq) directly.

"best_error" is also unsigned so "best_error - 100" could be a large
number instead of a negative.  Since "error" is unsigned it is never
less than a negative and so the cases where "best_error" is less than or
equal to 100 are false.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-02 10:00:10 +10:00
..
2010-07-01 09:39:48 +02:00
2010-06-29 15:29:32 -07:00
2010-08-02 10:00:10 +10:00
2010-06-04 17:16:27 -04:00
2010-06-01 08:40:47 -07:00
2010-06-29 15:29:31 -07:00
2010-06-01 12:04:35 -04:00
2010-06-23 22:49:07 +09:30