Roel Kluin fa7af8b1bb rtc: test before subtraction on unsigned
new_alarm is unsigned so test before the subtraction.

[akpm@linux-foundation.org: time-wrapping fix]
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 08:59:26 -07:00
..
2009-04-01 08:59:24 -07:00
2009-02-11 14:25:36 -08:00
2009-04-01 08:59:24 -07:00
2009-03-20 18:57:35 +09:00
2009-04-01 08:59:26 -07:00
2009-04-01 08:59:26 -07:00