linux/drivers/rtc
Tomasz Figa 43c523bff7 drivers/rtc/rtc-max8998.c: check for pdata presence before dereferencing
Currently the driver can crash with a NULL pointer dereference if no
pdata is provided, despite of successful registration of the MFD part.
This patch fixes the problem by adding a NULL check before dereferencing
the pdata pointer.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-05-24 16:22:53 -07:00
..
class.c
hctosys.c
interface.c
Kconfig time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons 2013-05-14 20:54:06 +02:00
Makefile
rtc-88pm80x.c
rtc-88pm860x.c
rtc-ab3100.c
rtc-ab8500.c
rtc-at32ap700x.c
rtc-at91rm9200.c drivers/rtc/rtc-at91rm9200.c: fix missing iounmap 2013-04-29 18:28:40 -07:00
rtc-at91rm9200.h
rtc-at91sam9.c rtc: rtc-at91sam9: convert at91_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-au1xxx.c
rtc-bfin.c rtc: rtc-bfin: convert bfin_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-bq32k.c
rtc-bq4802.c
rtc-cmos.c
rtc-coh901331.c rtc: rtc-coh901331: convert coh901331_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-core.h
rtc-da9052.c
rtc-da9055.c
rtc-davinci.c
rtc-dev.c
rtc-dm355evm.c
rtc-ds1216.c
rtc-ds1286.c
rtc-ds1302.c
rtc-ds1305.c
rtc-ds1307.c
rtc-ds1374.c
rtc-ds1390.c
rtc-ds1511.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1742.c
rtc-ds2404.c
rtc-ds3232.c
rtc-ds3234.c
rtc-efi.c
rtc-em3027.c
rtc-ep93xx.c
rtc-fm3130.c
rtc-generic.c
rtc-hid-sensor-time.c
rtc-imxdi.c
rtc-isl1208.c
rtc-isl12022.c drivers/rtc/rtc-isl12022.c: Remove rtc8564 from isl12022_id 2013-04-29 18:28:40 -07:00
rtc-jz4740.c
rtc-lib.c
rtc-lp8788.c
rtc-lpc32xx.c
rtc-ls1x.c
rtc-m41t80.c
rtc-m41t93.c
rtc-m41t94.c
rtc-m48t35.c
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c drivers/rtc/rtc-max6902.c: use register defines instead of magic numbers 2013-04-29 18:28:39 -07:00
rtc-max8907.c
rtc-max8925.c
rtc-max8997.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-04-30 09:36:50 -07:00
rtc-max8998.c drivers/rtc/rtc-max8998.c: check for pdata presence before dereferencing 2013-05-24 16:22:53 -07:00
rtc-max77686.c
rtc-mc13xxx.c rtc: rtc-mc13xxx: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-mpc5121.c
rtc-mrst.c
rtc-msm6242.c rtc: rtc-msm6242: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-mv.c
rtc-mxc.c
rtc-nuc900.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-omap.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-palmas.c
rtc-pcap.c rtc: rtc-pcap: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pcf2123.c drivers/rtc/rtc-pcf2123.c: fix error return code in pcf2123_probe() 2013-04-29 18:28:40 -07:00
rtc-pcf8523.c
rtc-pcf8563.c rtc: rtc-pcf8563: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pcf8583.c rtc: rtc-pcf8583: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pcf50633.c rtc: rtc-pcf50633: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pl030.c
rtc-pl031.c drivers/rtc/rtc-pl031.c: pass correct pointer to free_irq() 2013-05-24 16:22:52 -07:00
rtc-pm8xxx.c
rtc-proc.c
rtc-ps3.c
rtc-puv3.c rtc: rtc-puv3: convert puv3_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-pxa.c
rtc-r9701.c
rtc-rc5t583.c
rtc-rp5c01.c rtc: rtc-rp5c01: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-rs5c313.c
rtc-rs5c348.c rtc: rtc-rs5c348: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-rs5c372.c drivers/rtc/rtc-rs5c372.c: add R2221T/L variant to the driver 2013-05-07 18:38:26 -07:00
rtc-rv3029c2.c
rtc-rx4581.c
rtc-rx8025.c
rtc-rx8581.c
rtc-s3c.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-s3c.h
rtc-s35390a.c rtc: rtc-s35390a: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-sa1100.c rtc: rtc-sa1100: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-sh.c
rtc-snvs.c
rtc-spear.c rtc: rtc-spear: convert spear_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-starfire.c
rtc-stk17ta8.c
rtc-stmp3xxx.c ARM: arm-soc cleanup for 3.10 2013-05-02 09:03:55 -07:00
rtc-sun4v.c
rtc-sysfs.c
rtc-tegra.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-test.c
rtc-tile.c Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2013-05-09 14:34:58 -07:00
rtc-tps6586x.c
rtc-tps65910.c
rtc-tps80031.c
rtc-twl.c rtc: rtc-twl: convert twl4030rtc_driver to dev_pm_ops 2013-04-29 18:28:40 -07:00
rtc-tx4939.c
rtc-v3020.c rtc: rtc-v3020: use devm_*() functions 2013-04-29 18:28:39 -07:00
rtc-vr41xx.c
rtc-vt8500.c
rtc-wm831x.c
rtc-wm8350.c
rtc-x1205.c
systohc.c