Re: [PATCH] phy: ti: j721e-wiz: add missing call to of_node_put()

2021-03-02 Thread Vinod Koul
On 25-02-21, 17:17, Yang Li wrote: > In one of the error paths of the for_each_child_of_node() loop in > of_property_read_u32, add missing call to of_node_put(). > > Fix the following coccicheck warning: > ./drivers/phy/ti/phy-j721e-wiz.c:786:1-23: WARNING: Function > "for_each_child_of_node" shou

[PATCH] phy: ti: j721e-wiz: add missing call to of_node_put()

2021-02-25 Thread Yang Li
In one of the error paths of the for_each_child_of_node() loop in of_property_read_u32, add missing call to of_node_put(). Fix the following coccicheck warning: ./drivers/phy/ti/phy-j721e-wiz.c:786:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before return around line