commit | db8cde6481181d472f684b48fd6e0fd042ac9c2b | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Thu Feb 03 19:51:37 2022 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Feb 11 09:00:47 2022 -0500 |
tree | 16a1b44b87ac531f64b7d82a82dc7da7622f4688 | |
parent | 01f078f3eb4bb9ce265209308602b2e52563b304 [diff] |
malloc_simple: Remove usage of unsupported %zx format string Replace %zx by %lx and cast size_t to ulong. U-Boot currently prints garbage debug output: size=x, ptr=18, limit=18: 4002a000 With this change it prints correct debug data: size=18, ptr=18, limit=2000: 4002a000 Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>