aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2023-08-21 10:39:27 +0800
committerGreg Kroah-Hartman <[email protected]>2023-08-22 15:50:57 +0200
commite312cbdc11305568554a9e18a2ea5c2492c183f3 (patch)
tree4b1ac56d3d1c350de94619e6810c2ed168bd56a3 /lib/test_fortify/write_overflow-strncpy.c
parentdf8e2c3e16befe8c92ee6016059871d126015005 (diff)
amba: bus: fix refcount leak
commit 5de1540b7bc4 ("drivers/amba: create devices from device tree") increases the refcount of of_node, but not releases it in amba_device_release, so there is refcount leak. By using of_node_put to avoid refcount leak. Fixes: 5de1540b7bc4 ("drivers/amba: create devices from device tree") Signed-off-by: Peng Fan <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions