linux/drivers/of
Laurent Pinchart d7c146053d of/irq: Fix of_irq_parse_one() returned error codes
The error code paths that require cleanup use a goto to jump to the
cleanup code and return an error code. However, the error code variable
res, which is initialized to -EINVAL when declared, is then overwritten
with the return value of of_parse_phandle_with_args(), and reused as the
return code from of_irq_parse_one(). This leads to an undetermined error
being returned instead of the expected -EINVAL value. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: stable@vger.kernel.org # 3.13+
Signed-off-by: Rob Herring <robh@kernel.org>
2015-03-19 08:39:14 -05:00
..
unittest-data of: unitest: Add I2C overlay unit tests. 2015-02-04 10:43:14 -06:00
address.c Linux 3.18-rc6 2014-11-24 14:50:07 +00:00
base.c of: fix handling of '/' in options for of_find_node_by_path() 2015-03-10 10:34:35 -05:00
device.c of: rename of_aliases_mutex to just of_mutex 2014-07-07 13:42:52 +01:00
dynamic.c of/reconfig: Always use the same structure for notifiers 2014-11-24 22:25:03 +00:00
fdt.c of/fdt: fix sparse warning 2015-02-04 10:43:15 -06: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_parse_one() returned error codes 2015-03-19 08:39:14 -05:00
Kconfig of: Drop superfluous dependance for OF_OVERLAY 2015-03-02 08:07:44 -06:00
Makefile of/overlay: Introduce DT overlay support 2014-11-24 22:25:10 +00:00
of_mdio.c net: phy: adjust fixed_phy_register() return value 2014-10-07 13:06:45 -04: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/pci: Remove duplicate kfree in of_pci_get_host_bridge_resources() 2015-02-11 15:27:15 -06: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: Refactor __of_node_alloc() into __of_node_dup() 2014-11-24 22:24:41 +00:00
of_reserved_mem.c drivers: of: Export of_reserved_mem_device_{init,release} 2015-01-13 13:56:58 -06:00
overlay.c of/overlay: Remove unused variable 2015-03-10 10:34:33 -05:00
pdt.c of: Eliminate of_allnodes list 2014-11-04 13:29:38 +00:00
platform.c ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
resolver.c of/resolver: Switch to new local fixups format. 2014-11-24 22:24:50 +00:00
unittest.c of: unittest: Add options string testcase variants 2015-03-10 10:44:21 -05:00