aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDavid Hunter <[email protected]>2024-07-20 11:24:47 -0400
committerStephen Boyd <[email protected]>2024-07-29 16:12:50 -0700
commitf9848cfa4bec953603dc9ffb838229e072b0193d (patch)
tree8bce99f32efd5e7bc89a0cc56c3872e369fc54da /tools/testing/selftests/bpf/progs/test_autoload.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
da8xx-cfgchip.c: replace of_node_put with __free improves cleanup
The use of the __free function allows the cleanup to be based on scope instead of on another function called later. This makes the cleanup automatic and less susceptible to errors later. This code was compiled without errors or warnings. Signed-off-by: David Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: David Lechner <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions