Re: [PATCH] dmaengine: idxd: Fix a possible NULL pointer dereference
From: Vinod Koul
Date: Mon Aug 02 2021 - 03:05:25 EST
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