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

From: Jens Axboe
Date: Wed Mar 03 2021 - 20:09:07 EST


On 3/3/21 12:34 AM, Dinghao Liu wrote:
> The return value of ata_qc_from_tag() is checked in the whole
> kernel except for two calls in sata_dwc_isr(), which may lead
> to null-pointer-dereference. Add return value checks to avoid
> such case.

Applied, thanks.

--
Jens Axboe