From: Roel Kluin Date: Tue, 31 Mar 2009 22:25:00 +0000 (-0700) Subject: rtc: test before subtraction on unsigned X-Git-Tag: v2.6.30-rc1~479 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa7af8b1bb6dfca7a0c8541683a9bfffbc8dd345;p=pandora-kernel.git 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 Cc: David Brownell Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed