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-01-06 15:59:25 -08:00
2009-01-04 13:33:20 -08:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-04-01 08:59:24 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-01-11 01:34:24 +01:00
2008-10-20 08:52:41 -07:00
2009-03-20 18:57:35 +09:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-01-06 15:59:25 -08:00
2009-04-01 08:59:26 -07:00
2009-04-01 08:59:26 -07:00
2008-10-20 08:52:41 -07:00