Commit 4ff899ee authored by Zijun Hu's avatar Zijun Hu Committed by Rob Herring (Arm)
Browse files

of/fdt: Dump __be32 array in CPU type order in of_dump_addr()



of_dump_addr() dumps __be32 array without conversion to CPU byte order
in advance, that will reduce log readability for little endian CPUs.

Fix by be32_to_cpu() conversion before dump.

Signed-off-by: default avatarZijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241206-of_core_fix-v1-6-dc28ed56bec3@quicinc.com


Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 3c48780d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment