[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Ygs3iKOUmCa+HtJp@matsya>
Date: Tue, 15 Feb 2022 10:48:00 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Sanjay R Mehta <sanju.mehta@....com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, dmaengine@...r.kernel.org
Subject: Re: [PATCH v2] dmaengine: ptdma: Fix the error handling path in
pt_core_init()
On 05-02-22, 07:58, Christophe JAILLET wrote:
> In order to free resources correctly in the error handling path of
> pt_core_init(), 2 goto's have to be switched. Otherwise, some resources
> will leak and we will try to release things that have not been allocated
> yet.
>
> Also move a dev_err() to a place where it is more meaningful.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists