Hi,
On 12/01/2024 08:56, Michal Orzel wrote:
On 12/01/2024 00:24, Shawn Anastasio wrote:
The early_print_info routine in bootfdt.c incorrectly stores the result
of a call to fdt_num_mem_rsv() in an unsigned int, which results in the
negative error code being interpreted incorrectly in a subsequent loop
in the case where the device tree is malformed. Fix this by properly
checking the return code for an error and calling panic().
Signed-off-by: Shawn Anastasio <[email protected]>
Reviewed-by: Michal Orzel <[email protected]>
Committed.
Cheers,
--
Julien Grall