aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-02-02 14:11:00 +0000
committerGreg Kroah-Hartman <[email protected]>2023-02-08 12:24:22 +0000
commit209cdbd07cfaa4b7385bad4eeb47e5ec1887d33d (patch)
treee181198db965894382518cd5544697c6f93f4491 /drivers/fpga/fpga-bridge.c
parentnvmem: stm32: fix OPTEE dependency (diff)
downloadkernel-209cdbd07cfaa4b7385bad4eeb47e5ec1887d33d.tar.gz
kernel-209cdbd07cfaa4b7385bad4eeb47e5ec1887d33d.zip
misc: vmw_balloon: fix memory leak with using debugfs_lookup()
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. Cc: Nadav Amit <[email protected]> Cc: VMware PV-Drivers Reviewers <[email protected]> Cc: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions