Thread (3 messages) 3 messages, 3 authors, 2021-03-03

Re: [PATCH v2] pinctrl: ingenic: add missing call to of_node_put()

From: Linus Walleij <hidden>
Date: 2021-03-03 14:41:03
Also in: linux-gpio, lkml

On Fri, Feb 26, 2021 at 2:35 AM Yang Li [off-list ref] wrote:
In one of the error paths of the for_each_child_of_node() loop in
ingenic_gpio_probe, add missing call to of_node_put().

Fix the following coccicheck warning:
./drivers/pinctrl/pinctrl-ingenic.c:2485:1-23: WARNING: Function
"for_each_child_of_node" should have of_node_put() before return around
line 2489.

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>
Oops applied this rather than v1.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help