On 12/1/25 6:40 PM, Tom Rini wrote:
The ordering of headers in this file doesn't follow our rules exactly because this file ends up being included when building host tools and so has to be correct for host include paths and ordering as well. We need to have <malloc.h> higher in the file or macOS will fail to build due to declaration problems.Fixes: 8fbcc0e0e839 ("boot: Assure FDT is always at 8-byte aligned address") Signed-off-by: Tom Rini <[email protected]> --- Cc: Marek Vasut <[email protected]>
I ran across this missing malloc() once before, but never triggered it in CI after changing the fixed patch slightly. It seems it does trigger sometimes, so:
Reviewed-by: Marek Vasut <[email protected]> Thanks !

