linux-stable-rt/drivers/rtc
David Brownell db621f174d [PATCH] RTC class: error checks
The rtc_is_valid_tm() routine needs to treat some of the fields it checks as
unsigned, to prevent wrongly accepting invalid rtc_time structs; this is the
same approach used elsewhere in the RTC code for such tests.

Conversely, rtc_proc_show() is missing one invalid-day-of-month test that
rtc_is_valid_tm() makes: there is no day zero.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 00:39:25 -07:00
..
Kconfig [PATCH] RTC class: Kconfig improvements 2006-10-01 00:39:25 -07:00
Makefile [PATCH] RTC class: Kconfig improvements 2006-10-01 00:39:25 -07:00
class.c [PATCH] RTC class uses subsys_init 2006-10-01 00:39:25 -07:00
hctosys.c
interface.c
rtc-at91.c
rtc-dev.c [PATCH] RTC class uses subsys_init 2006-10-01 00:39:25 -07:00
rtc-ds1307.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1742.c
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c [PATCH] RTC class: error checks 2006-10-01 00:39:25 -07:00
rtc-m48t86.c
rtc-max6902.c
rtc-pcf8563.c [PATCH] rtc driver rtc-pcf8563 century bit inversed 2006-10-01 00:39:25 -07:00
rtc-pcf8583.c
rtc-pl031.c
rtc-proc.c [PATCH] RTC class: error checks 2006-10-01 00:39:25 -07:00
rtc-rs5c348.c [PATCH] RTC: more XSTP/VDET support for rtc-rs5c348 driver 2006-09-29 09:18:24 -07:00
rtc-rs5c372.c
rtc-s3c.c
rtc-sa1100.c
rtc-sh.c rtc: New RTC driver for SuperH On-Chip RTC. 2006-09-27 17:13:19 +09:00
rtc-sysfs.c [PATCH] RTC class uses subsys_init 2006-10-01 00:39:25 -07:00
rtc-test.c
rtc-v3020.c [PATCH] Remove unnecessary check in drivers/rtc/rtc-v3020.c 2006-10-01 00:39:24 -07:00
rtc-vr41xx.c
rtc-x1205.c