diff options
author | Wang Qing <wangqing@vivo.com> | 2021-12-13 12:44:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-01 15:21:53 +0300 |
commit | 2240f4c5f5d59cb58363623812f18240d7f9c207 (patch) | |
tree | 30ff961a696855ec3da7c5626df9f825b5f7e5bc /arch | |
parent | 18721a8373878196caf9d019415e7efafce911fb (diff) | |
download | linux-2240f4c5f5d59cb58363623812f18240d7f9c207.tar.xz |
net: ethernet: ti: add missing of_node_put before return
[ Upstream commit be565ec71d1d59438bed0c7ed0a252a327e0b0ef ]
Fix following coccicheck warning:
WARNING: Function "for_each_child_of_node"
should have of_node_put() before return.
Early exits from for_each_child_of_node should decrement the
node reference counter.
Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions