Thierry Reding
9f7d7a1d0f
drivers/rtc/rtc-tps65910.c: fix potential NULL-pointer dereference
...
The interrupt handler gets the driver data associated with the RTC
device and doesn't check it for validity. This can cause a NULL pointer
being dereferenced when and interrupt fires before the driver data was
properly set up.
Fix this by setting the driver data earlier (before the interrupt is
requested).
Signed-off-by: Thierry Reding <treding@nvidia.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-08 15:57:20 -07:00
..
2014-08-08 15:57:20 -07:00
2014-08-08 15:57:19 -07:00
2014-08-08 15:57:20 -07:00
2014-08-08 15:57:20 -07:00
2013-11-13 12:09:28 +09:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:22 -07:00
2014-04-03 16:21:17 -07:00
2014-06-06 16:08:08 -07:00
2013-12-20 11:41:32 +01:00
2014-07-30 13:53:28 +02:00
2014-06-06 16:08:08 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:18 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:24 -07:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:18 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:20 -07:00
2014-08-08 15:57:19 -07:00
2014-04-03 16:21:23 -07:00
2014-04-03 16:21:17 -07:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:16 -07:00
2014-08-08 15:57:19 -07:00
2013-11-13 12:09:29 +09:00
2014-04-03 16:21:22 -07:00
2014-08-08 15:57:19 -07:00
2014-08-08 15:57:19 -07:00
2013-11-13 12:09:29 +09:00
2013-11-15 09:32:21 +09:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:16 -07:00
2013-11-13 12:09:27 +09:00
2014-08-08 15:57:20 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:19 -07:00
2014-04-03 16:21:18 -07:00
2014-06-06 16:08:07 -07:00
2013-11-13 12:09:29 +09:00
2013-11-13 12:09:29 +09:00
2013-11-13 12:09:27 +09:00
2014-01-23 16:37:00 -08:00
2014-04-03 16:21:23 -07:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:17 -07:00
2013-10-09 20:04:04 -05:00
2013-11-13 12:09:27 +09:00
2014-06-06 16:08:08 -07:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:17 -07:00
2014-06-06 16:08:09 -07:00
2014-06-06 16:08:08 -07:00
2013-11-13 12:09:29 +09:00
2014-01-23 16:37:00 -08:00
2014-05-06 13:04:58 -07:00
2014-08-08 15:57:20 -07:00
2014-08-08 15:57:20 -07:00
2013-11-13 12:09:31 +09:00
2013-11-13 12:09:31 +09:00
2014-04-03 16:21:23 -07:00
2014-06-20 08:22:39 +08:00
2014-06-06 16:08:09 -07:00
2013-11-13 12:09:29 +09:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:18 -07:00
2014-01-23 16:37:00 -08:00
2014-04-03 16:21:24 -07:00
2014-06-10 15:34:47 -07:00
2014-06-06 16:08:09 -07:00
2013-11-13 12:09:30 +09:00
2014-04-03 16:21:19 -07:00
2013-11-13 12:09:30 +09:00
2014-04-03 16:21:18 -07:00
2014-04-03 16:21:24 -07:00
2013-11-13 12:09:30 +09:00
2014-04-03 16:21:21 -07:00
2014-04-03 16:21:16 -07:00
2014-08-08 15:57:20 -07:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:24 -07:00
2013-11-13 12:09:30 +09:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:19 -07:00
2014-04-03 16:21:16 -07:00
2014-06-06 16:08:06 -07:00