]> 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)
commit28b1e4db599180eea782091ecb7374ed12435027
treedcd37c1eedddfc5b99dd263d0868fcf404f8c4e8
parente01d8f138c13a9951ed597004f79c3d6bca58c92
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: c71a6cb57bc5 ("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