[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a0cdd2a9-08db-4b9e-aba4-7837df7fd2eb@suswa.mountain>
Date: Tue, 21 Nov 2023 04:42:33 -0500
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Zhu Jun <zhujun2@...s.chinamobile.com>
Cc: ivan.orlov0322@...il.com, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
mathieu.desnoyers@...icios.com, shuah@...nel.org
Subject: Re: [PATCH v1] selftests/media_tests: fix a resource leak
On Tue, Nov 21, 2023 at 01:32:38AM -0800, Zhu Jun wrote:
> From: zhujun2 <zhujun2@...s.chinamobile.com>
>
> The opened file should be closed in main(), otherwise resource
> leak will occur that this problem was discovered by code reading
>
> Signed-off-by: zhujun2 <zhujun2@...s.chinamobile.com>
> ---
>
> Hi Dan Carpenter
>
> I believe that the Linux kernel code is sacred and should strictly adhere to C code conventions
>
*sigh*. You do you, I guess. This patch is pointless but I don't care
whether it's merged or not.
regards,
dan carpenter
Powered by blists - more mailing lists