]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: aspeed: add missing of_node_put
authorkernel test robot <lkp@intel.com>
Thu, 21 Jan 2021 18:12:54 +0000 (19:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jan 2021 14:23:50 +0000 (15:23 +0100)
commit8f46776a354be9ca815a142d10d52b12b2d317de
treedcd37c1eedddfc5b99dd263d0868fcf404f8c4e8
parent0f3454238499d93377db8637fdc2372f974901e6
usb: gadget: aspeed: add missing of_node_put

Breaking out of for_each_child_of_node requires a put on the
child value.

Generated by: scripts/coccinelle/iterators/for_each_child.cocci

Fixes: b633b108f66b ("coccinelle: iterators: Add for_each_child.cocci script")
CC: Sumera Priyadarsini <sylphrenadin@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/alpine.DEB.2.22.394.2101211907060.14700@hadrien
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/aspeed-vhub/hub.c