Re: [PATCH] ppc: iommu: fix memory leak with using debugfs_lookup()

From: Michael Ellerman
Date: Wed Feb 15 2023 - 07:43:20 EST


On Thu, 2 Feb 2023 15:19:19 +0100, Greg Kroah-Hartman wrote:
> When calling debugfs_lookup() the result must have dput() called on it,
> otherwise the memory will leak over time. To make things simpler, just
> call debugfs_lookup_and_remove() instead which handles all of the logic
> at once.
>
>

Applied to powerpc/next.

[1/1] ppc: iommu: fix memory leak with using debugfs_lookup()
https://git.kernel.org/powerpc/c/b505063910c134778202dfad9332dfcecb76bab3

cheers