linux/drivers/of
Konstantin Khlebnikov 0ce65816e2 of: return NUMA_NO_NODE from fallback of_node_to_nid()
commit c8fff7bc5b upstream.

Node 0 might be offline as well as any other numa node,
in this case kernel cannot handle memory allocation and crashes.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fixes: 0c3f061c19 ("of: implement of_node_to_nid as a weak function")
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-07-15 10:01:25 +01:00
..
testcase-data of: Fix overflow bug in string property parsing functions 2014-11-14 15:19:58 +00:00
address.c drivers/of: Add empty ranges quirk for PA-Semi 2015-05-06 10:36:23 +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: memblock_reserve /memreserve/ regions in the case of partial overlap 2014-12-10 17:49:37 +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_parse_one() returned error codes 2015-03-30 11:11:40 +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 net: fix circular dependency in of_mdio code 2014-07-02 00:24:14 -07: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: align RESERVEDMEM_OF_DECLARE function callbacks to other callbacks 2014-05-20 14:25:21 -05: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