[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YQeZLsIyw54OlPas@matsya>
Date: Mon, 2 Aug 2021 12:35:18 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: dave.jiang@...el.com, dan.j.williams@...el.com,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Fix a possible NULL pointer dereference
On 29-07-21, 14:04, Christophe JAILLET wrote:
> 'device_driver_attach()' dereferences its first argument (i.e. 'alt_drv')
> so it must not be NULL.
> Simplify the error handling logic about NULL 'alt_drv' in order to be
> more robust and future-proof.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists