linux/drivers/of
Xu Qiang 0911cadd4f of/fdt: declared return type does not match actual return type
[ Upstream commit 7913145afa ]

The commit 649cab56de (“of: properly check for error returned
by fdt_get_name()”) changed the return value type from bool to int,
but forgot to change the return value simultaneously.

populate_node was only called in unflatten_dt_nodes, and returns
with values greater than or equal to 0 were discarded without further
processing. Considering that return 0 usually indicates success,
return 0 instead of return true.

Fixes: 649cab56de (“of: properly check for error returned by fdt_get_name()”)
Signed-off-by: Xu Qiang <xuqiang36@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220801120506.11461-2-xuqiang36@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:23:59 +02:00
..
unittest-data
address.c
base.c of: base: Improve argument length mismatch error 2022-01-27 11:05:19 +01:00
device.c of: device: Fix missing of_node_put() in of_dma_set_restricted_buffer 2022-08-17 14:23:51 +02:00
dynamic.c
fdt_address.c
fdt.c of/fdt: declared return type does not match actual return type 2022-08-17 14:23:59 +02:00
irq.c
Kconfig of: net: move of_net under net/ 2022-03-08 19:12:41 +01:00
kexec.c of: check previous kernel's ima-kexec-buffer against memory bounds 2022-08-17 14:23:38 +02:00
kobj.c
Makefile of: net: move of_net under net/ 2022-03-08 19:12:41 +01:00
of_numa.c
of_private.h
of_reserved_mem.c memblock: exclude MEMBLOCK_NOMAP regions from kmemleak 2021-10-21 18:30:49 -10:00
overlay.c of: overlay: do not break notify on NOTIFY_{OK|STOP} 2022-06-09 10:22:50 +02:00
pdt.c
platform.c
property.c Revert "of: property: fw_devlink: Add support for "phy-handle" property" 2021-09-15 08:14:32 -05:00
resolver.c
unittest.c of: unittest: 64 bit dma address test requires arch support 2022-01-27 11:04:12 +01:00