diff options
author | Julia Lawall <[email protected]> | 2023-09-07 11:55:12 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-09-10 18:50:37 +0100 |
commit | e73d1ab6cd7e7190bd891e521d270cd26ad8e40d (patch) | |
tree | 9dabecdba45fd7f2a98f51440c7920b89d438e84 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ced33ca07d8d99435ca3320c740ea947843005ca (diff) |
net: bcmasp: add missing of_node_put
for_each_available_child_of_node performs an of_node_get
on each iteration, so a break out of the loop requires an
of_node_put.
This was done using the Coccinelle semantic patch
iterators/for_each_child.cocci
Signed-off-by: Julia Lawall <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions