forked from luck/tmp_suning_uos_patched
d4a36e8292
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-rcar-gen2.c | ||
phy-rcar-gen3-pcie.c | ||
phy-rcar-gen3-usb2.c | ||
phy-rcar-gen3-usb3.c |