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

2021-03-03 Thread Jens Axboe
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

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

2021-03-03 Thread Dinghao Liu
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. Signed-off-by: Dinghao Liu --- Changelog: v2: - Refine commit message. Add return value