android_kernel_xiaomi_sm8350/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
..
class.c [PATCH] RTC class uses subsys_init 2006-10-01 00:39:25 -07:00
hctosys.c
interface.c [PATCH] rtc subsystem, fix capability checks in kernel interface 2006-06-25 10:01:13 -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
rtc-at91.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
rtc-dev.c [PATCH] RTC class uses subsys_init 2006-10-01 00:39:25 -07:00
rtc-ds1307.c [PATCH] "RTC-framework" driver for DS1307 and similar RTC chips 2006-06-25 10:01:13 -07:00
rtc-ds1553.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
rtc-ds1672.c [PATCH] RTC subsystem: compact error messages 2006-04-11 06:18:47 -07:00
rtc-ds1742.c [PATCH] RTC: add rtc-ds1742 driver 2006-06-25 10:01:14 -07:00
rtc-ep93xx.c [PATCH] RTC subsystem: compact error messages 2006-04-11 06:18:47 -07:00
rtc-isl1208.c [PATCH] RTC subsystem, Add ISL1208 support 2006-07-14 21:53:53 -07:00
rtc-lib.c [PATCH] RTC class: error checks 2006-10-01 00:39:25 -07:00
rtc-m48t86.c [PATCH] m48t86: ia64 build fix 2006-06-05 12:29:17 -07:00
rtc-max6902.c [PATCH] Add max6902 RTC support 2006-06-25 10:01:14 -07:00
rtc-pcf8563.c [PATCH] rtc driver rtc-pcf8563 century bit inversed 2006-10-01 00:39:25 -07:00
rtc-pcf8583.c [PATCH] drivers/acorn/char/pcf8583.[hc] vs. RTC subsystem 2006-06-25 10:01:13 -07:00
rtc-pl031.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
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 [PATCH] RTC subsystem: compact error messages 2006-04-11 06:18:47 -07:00
rtc-s3c.c [PATCH] rtc-s3c.c: fix time setting checks 2006-08-27 11:01:28 -07:00
rtc-sa1100.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
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 [PATCH] rtc subsystem: use ENOIOCTLCMD and ENOTTY where appropriate 2006-05-21 12:59:21 -07:00
rtc-v3020.c [PATCH] Remove unnecessary check in drivers/rtc/rtc-v3020.c 2006-10-01 00:39:24 -07:00
rtc-vr41xx.c [MIPS] vr41xx: Move IRQ numbers to asm-mips/vr41xx/irq.h 2006-07-13 21:26:19 +01:00
rtc-x1205.c [PATCH] RTC subsystem: compact error messages 2006-04-11 06:18:47 -07:00