commit | fa7af8b1bb6dfca7a0c8541683a9bfffbc8dd345 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Tue Mar 31 15:25:00 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 01 08:59:26 2009 -0700 |
tree | e13f984d52f16ab82f5842d1f2267e13b8c06e36 | |
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>