linux-stable/drivers/phy
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
..
allwinner phy: for 5.1-rc 2019-04-25 11:27:48 +02:00
amlogic phy: phy-meson-gxl-usb2: get optional clock by devm_clk_get_optional() 2019-04-17 14:13:16 +05:30
broadcom phy: sr-usb: Add Stingray USB PHY driver 2019-04-17 14:12:48 +05:30
cadence phy: Add Cadence D-PHY support 2019-02-07 11:11:06 +05:30
freescale phy: fsl-imx8mq-usb: add support for VBUS power control 2019-04-18 22:08:25 +05:30
hisilicon phy: Add usb phy support for hi3660 Soc of Hisilicon 2019-04-18 22:08:25 +05:30
lantiq phy: lantiq: Fix compile warning 2018-09-26 13:09:39 +05:30
marvell phy: fix platform_no_drv_owner.cocci warnings 2019-04-17 12:06:02 +05:30
mediatek scsi: phy: mediatek: fix typo in author's email address 2019-04-18 22:08:25 +05:30
motorola phy: mapphone-mdm6600: add gpiolib dependency 2019-04-17 12:06:02 +05:30
mscc phy: ocelot-serdes: Add support for SERDES6G muxing 2019-04-18 22:08:25 +05:30
qualcomm phy: qcom-qusb2: fix missing assignment of ret when calling clk_prepare_enable 2019-06-03 17:03:52 +05:30
ralink phy: add 'depends on HAS_IOMEM' to fix unmet dependency 2018-03-16 13:40:45 +05:30
renesas phy: renesas: rcar-gen2: Fix memory leak at error paths 2019-06-12 15:35:44 +05:30
rockchip USB/PHY patches for 5.2-rc1 2019-05-08 10:03:52 -07:00
samsung phy: exynos-mipi-video: Simplify code by using regmap_update_bits() 2018-04-25 10:52:59 +05:30
socionext phy: socionext: get optional clock by devm_clk_get_optional() 2019-04-17 14:13:15 +05:30
st phy: stm32: fix usbphyc static checker and checkpatch warnings 2018-05-20 21:51:25 +05:30
tegra phy: tegra: xusb: Add Tegra186 support 2019-04-17 14:12:47 +05:30
ti USB/PHY patches for 5.2-rc1 2019-05-08 10:03:52 -07:00
Kconfig phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
Makefile phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
phy-core-mipi-dphy.c phy: dphy: Change units of wakeup and init parameters 2019-02-07 11:11:05 +05:30
phy-core.c phy: core: Invoke pm_runtime_get_*/pm_runtime_put_* before invoking reset callback 2019-04-17 14:13:17 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: error handling in lpc18xx_usb_otg_phy_power_on() 2018-03-16 13:40:42 +05:30
phy-pistachio-usb.c
phy-xgene.c