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
..
2013-04-29 18:28:22 -07:00
2012-10-06 03:05:04 +09:00
2013-02-06 12:18:56 -08:00
2013-05-14 20:54:06 +02:00
2013-02-24 20:00:58 -08:00
2013-04-29 18:28:33 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:36 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:40 -07:00
2013-04-05 09:36:53 -07:00
2013-04-29 18:28:39 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:39 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:36 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:39 -07:00
2007-05-08 11:15:18 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:25 -07:00
2013-02-21 17:22:29 -08:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:36 -07:00
2013-04-29 18:28:36 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:34 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:36 -07:00
2013-04-29 18:28:34 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:29 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:30 -07:00
2013-04-29 18:28:30 -07:00
2013-04-29 18:28:25 -07:00
2013-02-05 20:38:49 +11:00
2013-04-29 18:28:40 -07:00
2013-01-03 15:57:02 -08:00
2011-08-26 17:26:35 -07:00
2013-04-29 18:28:26 -07:00
2013-04-29 18:28:26 -07:00
2013-04-29 18:28:30 -07:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:34 -07:00
2013-04-29 18:28:36 -07:00
2013-01-03 15:57:02 -08:00
2013-04-29 18:28:30 -07:00
2013-04-29 18:28:30 -07:00
2013-04-29 18:28:39 -07:00
2013-04-29 18:28:34 -07:00
2013-04-29 18:28:36 -07:00
2013-04-30 09:36:50 -07:00
2013-05-24 16:22:53 -07:00
2013-04-29 18:28:35 -07:00
2013-04-29 18:28:37 -07:00
2013-02-21 17:22:27 -08:00
2013-01-03 15:57:02 -08:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:26 -07:00
2013-04-29 18:28:32 -07:00
2013-05-18 11:57:07 +02:00
2013-05-18 11:57:07 +02:00
2013-04-29 18:28:33 -07:00
2013-04-29 18:28:38 -07:00
2013-04-29 18:28:40 -07:00
2013-04-29 18:28:26 -07:00
2013-04-29 18:28:38 -07:00
2013-04-29 18:28:38 -07:00
2013-04-29 18:28:38 -07:00
2012-03-23 17:36:29 -07:00
2013-05-24 16:22:52 -07:00
2013-01-03 15:57:02 -08:00
2013-04-09 14:13:32 -04:00
2013-04-29 18:28:30 -07:00
2013-04-29 18:28:39 -07:00
2013-04-29 18:28:32 -07:00
2013-04-29 18:28:34 -07:00
2013-04-29 18:28:32 -07:00
2013-04-29 18:28:38 -07:00
2013-04-29 18:28:31 -07:00
2013-04-29 18:28:38 -07:00
2013-05-07 18:38:26 -07:00
2013-04-29 18:28:31 -07:00
2013-04-29 18:28:34 -07:00
2013-01-03 15:57:02 -08:00
2013-04-29 18:28:31 -07:00
2013-05-18 11:57:07 +02:00
2013-04-19 13:51:25 +02:00
2013-04-29 18:28:38 -07:00
2013-04-29 18:28:38 -07:00
2013-04-29 18:28:32 -07:00
2013-04-29 18:28:27 -07:00
2013-04-29 18:28:39 -07:00
2013-04-29 18:28:31 -07:00
2013-04-29 18:28:27 -07:00
2013-05-02 09:03:55 -07:00
2013-04-29 18:28:31 -07:00
2012-10-06 03:05:04 +09:00
2013-05-18 11:57:07 +02:00
2013-04-29 18:28:31 -07:00
2013-05-09 14:34:58 -07:00
2013-04-29 18:28:33 -07:00
2013-04-29 18:28:33 -07:00
2013-04-29 18:28:33 -07:00
2013-04-29 18:28:40 -07:00
2013-04-29 18:28:27 -07:00
2013-04-29 18:28:39 -07:00
2013-02-21 17:22:29 -08:00
2013-04-29 18:28:27 -07:00
2013-04-29 18:28:27 -07:00
2013-04-29 18:28:32 -07:00
2013-04-29 18:28:32 -07:00
2013-01-15 18:16:06 -08:00