[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1edd2e83-81fb-4cac-aaa0-f9581bebac77@linux.alibaba.com>
Date: Sat, 15 Feb 2025 10:04:33 +0800
From: Shuai Xue <xueshuai@...ux.alibaba.com>
To: Dave Jiang <dave.jiang@...el.com>, vkoul@...nel.org,
Vinicius Costa Gomes <vinicius.gomes@...el.com>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 4/5] dmaengine: idxd: fix memory leak in error handling
path of idxd_alloc
在 2025/2/15 01:01, Dave Jiang 写道:
>
>
> On 1/10/25 1:22 AM, Shuai Xue wrote:
>> Memory allocated for idxd is not freed if an error occurs during
>> idxd_alloc(). To fix it, free the allocated memory in the reverse order
>> of allocation before exiting the function in case of an error.
>>
>> Signed-off-by: Shuai Xue <xueshuai@...ux.alibaba.com>
>
> Reviewed-by: Dave Jiang <dave.jiang@...el.com>
I received two Reviewed-by from you for this patch, is this (the second) for
Patch 5/5.
Thanks.
Shuai
Powered by blists - more mailing lists