[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167050321517.1457988.92380060922256003.b4-ty@ellerman.id.au>
Date: Thu, 08 Dec 2022 23:40:15 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Nicholas Piggin <npiggin@...il.com>,
linux-kselftest@...r.kernel.org,
Christophe Leroy <christophe.leroy@...roup.eu>,
Michael Ellerman <mpe@...erman.id.au>,
Shuah Khan <shuah@...nel.org>, linuxppc-dev@...ts.ozlabs.org,
Miaoqian Lin <linmq006@...il.com>,
Anshuman Khandual <khandual@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests/powerpc: Fix resource leaks
On Mon, 5 Dec 2022 12:44:27 +0400, Miaoqian Lin wrote:
> In check_all_cpu_dscr_defaults, opendir() opens the directory stream.
> Add missing closedir() in the error path to release it.
>
> In check_cpu_dscr_default, open() creates an open file descriptor.
> Add missing close() in the error path to release it.
>
>
> [...]
Applied to powerpc/next.
[1/1] selftests/powerpc: Fix resource leaks
https://git.kernel.org/powerpc/c/8f4ab7da904ab7027ccd43ddb4f0094e932a5877
cheers
Powered by blists - more mailing lists