[PATCH] ata: fixes kernel crash while tracing ata_eh_link_autopsy event
Rameshwar Sahu
rsahu at apm.com
Thu Nov 2 02:57:25 PDT 2017
On Wed, Nov 1, 2017 at 8:00 PM, Tejun Heo <tj at kernel.org> wrote:
> Hello,
>
> On Tue, Oct 31, 2017 at 08:52:44PM +0530, Rameshwar Sahu wrote:
>> > probably should take both link and dev and use dev iff it's not NULL.
>> >
>>
>> Instead of this would it be better to call trace_ata_eh_link_autopsy() if
>> dev is not NULL from ata error handler ??
>
> Oh yeah, that'd work too and be probably better.
I will post another version with this fix.
>
> Thanks.
>
> --
> tejun
More information about the linux-arm-kernel
mailing list