linux-IllusionX/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
hctosys.c
interface.c
Kconfig
Makefile
rtc-at91.c
rtc-dev.c
rtc-ds1307.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1742.c
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c
rtc-m48t86.c
rtc-max6902.c
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pl031.c
rtc-proc.c
rtc-rs5c348.c
rtc-rs5c372.c [PATCH] drivers/rtc/rtc-rs5c372.c: fix a NULL dereference 2006-11-25 13:28:33 -08:00
rtc-s3c.c
rtc-sa1100.c
rtc-sh.c
rtc-sysfs.c
rtc-test.c
rtc-v3020.c
rtc-vr41xx.c
rtc-x1205.c