+2
−8
Loading
The len value is in bytes, while `dt_root_addr_cells + dt_root_size_cells` is in cells (4 bytes per cell). Comparing them directly is incorrect. Use a helper function to simplify the code and address this issue. Fixes: f7e7ce93 ("of: fdt: Add generic support for handling elf core headers property") Fixes: e62aaeac ("arm64: kdump: provide /proc/vmcore file") Signed-off-by:Yuntao Wang <yuntao.wang@linux.dev> Link: https://patch.msgid.link/20251115134753.179931-3-yuntao.wang@linux.dev Signed-off-by:
Rob Herring (Arm) <robh@kernel.org>