]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rtc-isl1208: reject invalid dates
authorChris Elston <celston@katalix.com>
Tue, 23 Dec 2008 21:57:10 +0000 (13:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 23 Dec 2008 23:58:21 +0000 (15:58 -0800)
commit7bb501b39adf34409d72706b940cdf9162b79b93
treee5a19743440bb1e52d07d3d466322232908142a5
parent0b9eb5fcc80e22d400951249fbf6beb2d107e6a2
rtc: rtc-isl1208: reject invalid dates

This patch for the rtc-isl1208 driver makes it reject invalid dates.

Signed-off-by: Chris Elston <celston@katalix.com>
[a.zummo@towertech.it: added comment explaining the check]
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Hebert Valerio Riedel <hvr@gnu.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-isl1208.c