[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0e734791-d008-eb93-c6f9-b054e9c6bb88@kernel.dk>
Date: Wed, 3 Mar 2021 17:35:46 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Dinghao Liu <dinghao.liu@....edu.cn>, kjlu@....edu
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [v2] sata_dwc_460ex: Fix missing check in sata_dwc_isr
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
Powered by blists - more mailing lists