diff options
author | Wan Jiabing <[email protected]> | 2021-10-21 05:46:06 -0400 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-10-22 14:05:55 -0700 |
commit | f3956e309ecc57940de031987e49a92b131315f7 (patch) | |
tree | 3fb40522ebdc0583de8c4ccd94072be69d84f227 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 47b068247aa7d76bb7abea796b72e18a4c6e35c3 (diff) |
net: dsa: sja1105: Add of_node_put() before return
Fix following coccicheck warning:
./drivers/net/dsa/sja1105/sja1105_main.c:1193:1-33: WARNING: Function
for_each_available_child_of_node should have of_node_put() before return.
Early exits from for_each_available_child_of_node should decrement the
node reference counter.
Fixes: 9ca482a246f0 ("net: dsa: sja1105: parse {rx, tx}-internal-delay-ps properties for RGMII delays")
Signed-off-by: Wan Jiabing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions