diff options
| author | 2026-01-31 01:13:45 +0800 | |
|---|---|---|
| committer | 2026-02-06 19:54:27 +0000 | |
| commit | 3c85234b979af71cb9db5eb976ea08a468415767 (patch) | |
| tree | 1bfaac232086a319db73ee643d14b72ea1d62cd2 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | riscv: dts: microchip: add can resets to mpfs (diff) | |
cache: starfive: fix device node leak in starlink_cache_init()
of_find_matching_node() returns a device_node with refcount incremented.
Use __free(device_node) attribute to automatically call of_node_put()
when the variable goes out of scope, preventing the refcount leak.
Fixes: cabff60ca77d ("cache: Add StarFive StarLink cache management")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
