diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-10-21 05:46:06 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-22 14:05:55 -0700 |
commit | f3956e309ecc57940de031987e49a92b131315f7 (patch) | |
tree | 3fb40522ebdc0583de8c4ccd94072be69d84f227 /net/ipv6 | |
parent | net: liquidio: Make use of the helper macro kthread_run() (diff) | |
download | linux-dev-f3956e309ecc57940de031987e49a92b131315f7.tar.xz linux-dev-f3956e309ecc57940de031987e49a92b131315f7.zip |
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 <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20211021094606.7118-1-wanjiabing@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions