[PATCH] ata: fixes kernel crash while tracing ata_eh_link_autopsy event

Tejun Heo tj at kernel.org
Wed Nov 1 07:30:47 PDT 2017


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.

Thanks.

-- 
tejun



More information about the linux-arm-kernel mailing list