diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-31 15:25:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 08:59:26 -0700 |
commit | fa7af8b1bb6dfca7a0c8541683a9bfffbc8dd345 (patch) | |
tree | e13f984d52f16ab82f5842d1f2267e13b8c06e36 /drivers/rtc/rtc-efi.c | |
parent | c08cf9daf66844c60ebe9f89885d3a3e1893e61f (diff) |
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>
Diffstat (limited to 'drivers/rtc/rtc-efi.c')
0 files changed, 0 insertions, 0 deletions