Messages in this thread | | | Date | Fri, 22 Oct 2021 16:38:48 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH] net: dsa: sja1105: Add of_node_put() before return |
| |
On Thu, 21 Oct 2021 05:46:06 -0400 Wan Jiabing wrote: > 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. > > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Applied, thanks.
| |