kernel_optimize_test/drivers/phy/renesas
Yoshihiro Shimoda d4a36e8292 phy: renesas: rcar-gen2: Fix memory leak at error paths
This patch fixes memory leak at error paths of the probe function.
In for_each_child_of_node, if the loop returns, the driver should
call of_put_node() before returns.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Fixes: 1233f59f74 ("phy: Renesas R-Car Gen2 PHY driver")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2019-06-12 15:35:44 +05:30
..
Kconfig phy: rcar-gen3-usb2: Add support for r8a77470 2019-04-17 14:13:11 +05:30
Makefile phy: renesas: convert to SPDX identifiers 2018-09-26 13:09:41 +05:30
phy-rcar-gen2.c phy: renesas: rcar-gen2: Fix memory leak at error paths 2019-06-12 15:35:44 +05:30
phy-rcar-gen3-pcie.c phy: Renesas R-Car gen3 PCIe PHY driver 2018-07-10 13:45:11 +05:30
phy-rcar-gen3-usb2.c phy: renesas: rcar-gen3-usb2: enable/disable independent irqs 2019-04-17 14:13:14 +05:30
phy-rcar-gen3-usb3.c phy: renesas: use SPDX identifier for Renesas drivers 2018-09-10 14:28:07 +05:30