linux/drivers/rtc
Adrian Bunk 17ad78e59a [PATCH] drivers/rtc/rtc-rs5c372.c: fix a NULL dereference
The correct order is: NULL check before dereference

This was a guaranteed NULL dereference with debugging enabled since
rs5c372_sysfs_show_osc() does actually pass NULL...

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-25 13:28:33 -08:00
..
class.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
hctosys.c [PATCH] RTC subsystem: class 2006-03-27 08:44:51 -08:00
interface.c [PATCH] rtc class locking bugfixes 2006-11-25 13:28:33 -08: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] rtc class locking bugfixes 2006-11-25 13:28:33 -08:00
rtc-dev.c [PATCH] rtc class locking bugfixes 2006-11-25 13:28:33 -08:00
rtc-ds1307.c [PATCH] RTC: build fixes 2006-10-04 08:15:14 -07:00
rtc-ds1553.c [PATCH] rtc class locking bugfixes 2006-11-25 13:28:33 -08:00
rtc-ds1672.c [PATCH] RTC: build fixes 2006-10-04 08:15:14 -07:00
rtc-ds1742.c [PATCH] RTC: rtc-ds1553, rtc-ds1742 update 2006-10-01 00:39:25 -07:00
rtc-ep93xx.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-isl1208.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-lib.c [PATCH] RTC class: error checks 2006-10-01 00:39:25 -07:00
rtc-m48t86.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-max6902.c [PATCH] rtc-max6902: month conversion fix 2006-10-17 08:18:44 -07:00
rtc-pcf8563.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-pcf8583.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-pl031.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
rtc-proc.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-rs5c348.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00
rtc-rs5c372.c [PATCH] drivers/rtc/rtc-rs5c372.c: fix a NULL dereference 2006-11-25 13:28:33 -08:00
rtc-s3c.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
rtc-sa1100.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
rtc-sh.c sh: Updates for IRQ handler changes. 2006-10-06 15:31:16 +09:00
rtc-sysfs.c [PATCH] rtc-sysfs fix 2006-10-01 10:39:01 -07:00
rtc-test.c [PATCH] rtc class locking bugfixes 2006-11-25 13:28:33 -08:00
rtc-v3020.c [PATCH] rtc: fix printk of 64-bit res on 32-bit platform 2006-10-17 08:18:47 -07:00
rtc-vr41xx.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
rtc-x1205.c [PATCH] constify rtc_class_ops: update drivers 2006-10-01 00:39:25 -07:00