Rameshwar Prasad Sahu
f1601113dd
ata: fixes kernel crash while tracing ata_eh_link_autopsy event
...
When tracing ata link error event, the kernel crashes when the disk is
removed due to NULL pointer access by trace_ata_eh_link_autopsy API.
This occurs as the dev is NULL when the disk disappeared. This patch
fixes this crash by calling trace_ata_eh_link_autopsy only if "dev"
is not NULL.
v2 changes:
Removed direct passing "link" pointer instead of "dev" in trace API.
Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 255c03d15a29 ("libata: Add tracepoints")
Cc: stable@vger.kernel.org # v4.1+
2017-11-03 06:23:06 -07:00
..
2017-05-16 11:25:59 -04:00
2017-06-22 16:13:00 -04:00
2017-10-23 07:09:27 -07:00
2017-08-16 07:38:27 -07:00
2017-03-24 11:40:03 -04:00
2017-01-15 18:51:12 -05:00
2017-08-28 10:54:42 -07:00
2016-02-18 12:41:17 -05:00
2017-03-06 15:40:59 -05:00
2017-08-04 13:34:14 -07:00
2017-06-02 09:49:33 -04:00
2016-06-15 14:26:41 -04:00
2016-08-10 12:16:49 -04:00
2015-01-28 18:45:23 -05:00
2015-01-28 18:45:23 -05:00
2017-01-06 11:39:14 -05:00
2017-10-11 07:08:13 -07:00
2017-06-22 16:12:59 -04:00
2014-05-09 22:37:49 -04:00
2017-05-16 11:25:59 -04:00
2017-09-06 22:41:21 -07:00
2017-10-23 07:06:09 -07:00
2017-06-22 16:12:59 -04:00
2014-04-01 12:48:54 -07:00
2017-10-30 08:07:14 -07:00
2017-11-03 06:23:06 -07:00
2015-07-14 17:46:38 -04:00
2017-09-19 11:53:11 -07:00
2017-05-16 11:25:59 -04:00
2016-05-09 12:36:46 -04:00
2017-03-06 15:24:48 -05:00
2010-10-21 20:21:03 -04:00
2017-09-06 07:40:28 -07:00
2017-10-02 09:57:55 -07:00
2017-08-28 10:54:42 -07:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2017-08-11 10:35:07 -07:00
2016-06-28 12:49:40 -04:00
2017-09-18 20:24:21 -07:00
2014-10-20 16:20:17 +02:00
2017-03-27 13:52:00 -04:00
2017-10-23 07:06:09 -07:00
2017-05-30 11:54:36 -04:00
2017-03-30 16:13:04 +05:30
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2015-04-08 10:55:05 -04:00
2015-02-03 07:04:44 -05:00
2014-05-09 22:37:49 -04:00
2017-08-11 10:35:07 -07:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2017-05-30 11:54:36 -04:00
2017-02-21 17:21:32 -08:00
2017-06-21 18:06:18 -04:00
2014-02-13 16:40:56 -05:00
2015-04-08 10:55:05 -04:00
2014-02-13 16:40:56 -05:00
2016-07-12 11:02:05 -04:00
2016-04-15 16:53:14 -04:00
2016-11-09 11:48:58 -05:00
2015-03-18 22:39:17 +01:00
2015-10-15 10:58:53 -04:00
2014-05-09 22:37:49 -04:00
2017-01-10 11:11:17 -05:00
2015-08-24 15:27:11 -05:00
2017-01-10 11:11:17 -05:00
2017-03-06 15:18:01 -05:00
2016-05-27 11:27:23 -04:00
2017-03-06 15:18:01 -05:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2016-08-30 11:59:47 -04:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2017-08-28 10:44:24 -07:00
2017-03-06 15:18:01 -05:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2014-10-20 16:20:17 +02:00
2017-01-10 11:11:17 -05:00
2014-05-09 22:37:49 -04:00
2017-10-30 09:19:06 -07:00
2014-05-09 22:37:49 -04:00
2015-01-28 18:45:23 -05:00
2015-09-10 17:02:04 -04:00
2014-05-09 22:37:49 -04:00
2017-05-30 11:54:37 -04:00
2017-06-12 14:06:34 -04:00
2014-05-09 22:37:49 -04:00
2017-05-30 11:54:37 -04:00
2014-05-09 22:37:49 -04:00
2017-06-12 14:06:34 -04:00
2014-10-07 17:10:14 -04:00
2015-04-08 10:55:05 -04:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2014-05-09 22:37:49 -04:00
2017-05-16 11:25:59 -04:00
2017-05-30 11:54:37 -04:00
2017-05-30 11:54:37 -04:00
2017-08-11 10:32:09 -07:00
2017-06-12 12:02:51 -04:00
2016-05-27 15:26:11 -07:00
2017-06-12 14:06:34 -04:00
2017-10-23 07:06:09 -07:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-10-04 07:18:29 -07:00
2015-04-08 10:55:05 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-07-18 18:02:36 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-06-26 16:54:53 -04:00
2017-05-16 11:25:59 -04:00
2007-07-02 10:17:42 -04:00