Daniel Mack
f375fc520d
usb: ehci-mxc: check for pdata before dereferencing
...
Commit 7e8d5cd93fac ("USB: Add EHCI support for MX27 and MX31 based
boards") introduced code that could potentially lead to a NULL pointer
dereference on driver removal.
Fix this by checking for the value of pdata before dereferencing it.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org> # 2.6.33+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23 10:46:03 -07:00
..
2013-06-06 12:14:38 -07:00
2012-11-21 13:27:17 -08:00
2013-06-24 16:21:52 -07:00
2013-03-25 13:35:05 -07:00
2013-08-12 11:43:49 -07:00
2012-09-05 16:52:08 -07:00
2013-08-12 11:43:49 -07:00
2013-08-12 11:43:49 -07:00
2013-08-14 12:18:26 -07:00
2013-08-12 11:43:48 -07:00
2013-04-08 09:40:20 -07:00
2013-08-12 11:43:49 -07:00
2013-08-23 10:46:03 -07:00
2013-08-12 11:43:49 -07:00
2013-07-31 17:53:50 -07:00
2013-07-31 17:53:50 -07:00
2013-07-23 14:50:29 -07:00
2013-07-31 17:53:50 -07:00
2013-08-12 11:43:49 -07:00
2013-08-12 11:43:49 -07:00
2013-08-12 11:43:49 -07:00
2013-08-14 12:18:26 -07:00
2013-07-31 17:53:50 -07:00
2013-08-15 18:00:46 -07:00
2013-08-12 11:43:49 -07:00
2013-08-12 11:43:49 -07:00
2013-05-30 21:32:53 +09:00
2011-07-08 14:51:33 -07:00
2013-08-12 13:29:54 -05:00
2013-08-12 11:43:49 -07:00
2013-08-12 11:43:48 -07:00
2013-08-12 11:43:49 -07:00
2013-08-12 11:43:49 -07:00
2013-08-13 15:28:01 -07:00
2012-06-26 19:42:11 -07:00
2012-11-21 13:27:17 -08:00
2012-06-26 19:42:11 -07:00
2013-05-30 21:34:31 +09:00
2012-06-26 19:42:11 -07:00
2013-05-30 21:34:31 +09:00
2013-07-29 11:15:39 -07:00
2013-07-29 11:15:39 -07:00
2013-07-31 17:53:50 -07:00
2013-06-03 10:52:40 -07:00
2013-05-17 10:12:52 -07:00
2013-08-12 15:41:09 -07:00
2012-02-13 14:32:34 -08:00
2013-07-31 17:53:50 -07:00
2012-09-14 11:17:21 +02:00
2013-07-31 17:53:50 -07:00
2013-07-23 16:35:17 -07:00
2013-07-31 17:53:50 -07:00
2013-07-24 14:43:05 -07:00
2013-05-15 13:44:44 -04:00
2011-10-19 13:29:06 -07:00
2013-07-31 17:53:50 -07:00
2013-08-15 17:33:16 -07:00
2013-08-13 16:05:38 -07:00
2011-05-03 10:09:32 -07:00
2013-08-02 11:31:29 +08:00
2013-07-31 17:53:50 -07:00
2012-05-01 21:33:37 -07:00
2013-07-26 13:54:29 -07:00
2013-07-31 17:53:50 -07:00
2013-07-26 13:55:21 -07:00
2013-05-30 21:36:03 +09:00
2013-05-16 17:47:17 -07:00
2013-05-30 21:32:52 +09:00
2013-05-17 10:14:52 -07:00
2013-07-25 12:01:12 -07:00
2013-07-31 17:53:50 -07:00
2013-05-30 21:36:03 +09:00
2013-07-31 17:53:50 -07:00
2013-07-25 12:01:12 -07:00
2012-11-21 13:27:16 -08:00
2013-07-31 17:53:50 -07:00
2013-05-30 21:36:03 +09:00
2013-07-31 17:53:50 -07:00
2012-11-21 13:27:16 -08:00
2013-05-16 17:47:18 -07:00
2013-05-27 11:00:52 +09:00
2013-07-31 17:53:50 -07:00
2013-05-17 10:14:53 -07:00
2013-06-03 11:03:18 -07:00
2013-05-27 11:00:52 +09:00
2013-07-23 14:50:29 -07:00
2013-07-29 07:43:16 -07:00
2013-07-31 17:53:50 -07:00
2012-07-30 17:25:12 -07:00
2013-03-15 12:26:38 -07:00
2013-07-31 17:53:50 -07:00
2013-07-24 14:43:05 -07:00
2012-11-21 13:27:17 -08:00
2013-07-31 17:53:50 -07:00
2013-01-24 13:59:26 -08:00
2013-05-30 21:32:54 +09:00
2013-01-25 12:41:02 -08:00
2013-01-24 13:42:09 -08:00
2013-05-15 13:41:40 -04:00
2011-05-06 18:24:00 -07:00
2013-05-30 21:32:54 +09:00
2013-05-15 13:42:45 -04:00
2013-08-13 16:05:38 -07:00
2013-06-05 16:48:24 -07:00
2013-08-13 16:05:41 -07:00
2013-08-15 18:00:46 -07:00
2013-08-13 16:05:41 -07:00
2013-08-15 18:00:46 -07:00
2013-08-13 21:14:44 -07:00
2013-08-13 16:05:38 -07:00
2013-08-13 21:14:44 -07:00
2013-08-15 18:00:46 -07:00
2013-08-15 18:00:46 -07:00