linux/drivers/of
Johan Hovold b2486d4f0e of_mdio: fix node leak in of_phy_register_fixed_link error path
commit 48c1699d53 upstream.

Make sure to drop the of_node reference also on failure to parse the
speed property in of_phy_register_fixed_link().

Fixes: 3be2a49e5c ("of: provide a binding for fixed link PHYs")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-23 03:54:37 +00:00
..
testcase-data of: Fix overflow bug in string property parsing functions 2014-11-14 15:19:58 +00:00
address.c of/address: Don't loop forever in of_find_matching_node_by_address(). 2015-09-28 10:21:48 +01:00
base.c of: return NUMA_NO_NODE from fallback of_node_to_nid() 2015-07-15 10:01:25 +01:00
device.c platform: introduce OF style 'modalias' support for platform bus 2014-01-17 01:59:15 +01:00
fdt.c of/fdt: fix error checking for earlycon address 2015-12-13 17:49:40 +00:00
fdt_address.c of/fdt: add FDT address translation support 2014-05-20 15:19:25 -05:00
irq.c of: irq: fix of_irq_get[_byname]() kernel-doc 2016-08-22 22:38:08 +01:00
Kconfig of/fdt: Convert FDT functions to use libfdt 2014-04-30 00:59:15 -05:00
Makefile of/fdt: add FDT address translation support 2014-05-20 15:19:25 -05:00
of_mdio.c of_mdio: fix node leak in of_phy_register_fixed_link error path 2017-02-23 03:54:37 +00:00
of_mtd.c of_mtd: Add helpers to get ECC strength and ECC step size 2014-03-10 22:42:28 -07:00
of_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-04-02 20:53:45 -07:00
of_pci.c of: implement pci_address_to_pio as weak function 2013-10-09 20:04:06 -05:00
of_pci_irq.c of_pci_irq: kill useless variable in of_irq_parse_pci() 2014-05-27 12:13:34 +01:00
of_private.h of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
of_reserved_mem.c of: alloc anywhere from memblock if range not specified 2016-05-01 00:05:53 +02:00
pdt.c of: device_node kobject lifecycle fixes 2014-03-19 14:58:40 +00:00
platform.c of/platform: Fix microblaze build failure 2014-06-16 13:31:43 -05:00
selftest.c of: Fix overflow bug in string property parsing functions 2014-11-14 15:19:58 +00:00