diff options
author | Rob Herring <[email protected]> | 2021-01-25 20:39:05 -0600 |
---|---|---|
committer | Rob Herring <[email protected]> | 2021-01-26 19:09:03 -0600 |
commit | 30596ae0547dbda469d31a2678d9072fb0a3fa27 (patch) | |
tree | 3540d4abe5588639a5e64d507af834cda4a9cf77 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 453b674178327950e8517172c82107c43af222e4 (diff) |
ARM: zImage: atags_to_fdt: Fix node names on added root nodes
Commit 7536c7e03e74 ("of/fdt: Remove redundant kbasename function
call") exposed a bug creating DT nodes in the ATAGS to DT fixup code.
Non-existent nodes would mistaken get created with a leading '/'. The
problem was fdt_path_offset() takes a full path while creating a node
with fdt_add_subnode() takes just the basename.
Since this we only add root child nodes, we can just skip over the '/'.
Fixes: 7536c7e03e74 ("of/fdt: Remove redundant kbasename function call")
Reported-by: Chris Packham <[email protected]>
Cc: Qi Zheng <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Tested-by: Chris Packham <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions