Re: [PATCH] dmaengine: ti: k3-udma: Fix a resource leak in an error handling path
From: Vinod Koul <vkoul@kernel.org>
Date: 2021-01-26 18:13:56
Also in:
kernel-janitors, lkml
From: Vinod Koul <vkoul@kernel.org>
Date: 2021-01-26 18:13:56
Also in:
kernel-janitors, lkml
On 24-01-21, 08:09, Christophe JAILLET wrote:
In 'dma_pool_create()', we return -ENOMEM, but don't release the resources already allocated, as in all the other error handling paths. Go to 'err_res_free' instead of returning directly.
Applied, thanks -- ~Vinod