Skip to content
Commit 0ed0283f authored by Dinghao Liu's avatar Dinghao Liu Committed by Jens Axboe
Browse files

sata_dwc_460ex: Fix missing check in sata_dwc_isr



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: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9a9d3abe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment