Re: [PATCH] dmaengine: idxd: Fix the error handling path in idxd_cdev_register()

From: Vinod Koul
Date: Fri Apr 22 2022 - 02:03:21 EST


On 21-04-22, 08:13, Christophe JAILLET wrote:
> If a call to alloc_chrdev_region() fails, the already allocated resources
> are leaking.
>
> Add the needed error handling path to fix the leak.

Applied, thanks

--
~Vinod