Re: [PATCH] sata_dwc_460ex: Fix missing check in sata_dwc_isr

From: Andy Shevchenko
Date: Mon Mar 01 2021 - 05:33:31 EST


On Mon, Mar 1, 2021 at 9:44 AM Dinghao Liu <dinghao.liu@xxxxxxxxxx> wrote:
>
> ata_qc_from_tag() may return a null pointer and further lead to
> null-pointer-dereference. Add a return value check to avoid such case.

Can you elaborate more on this? Is it a real case?
I have a hardware, how can I reproduce this?

--
With Best Regards,
Andy Shevchenko