]> git.dujemihanovic.xyz Git - u-boot.git/commit
lmb.c: add missing comma in lmb_dump_region()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 7 Nov 2024 10:14:42 +0000 (11:14 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Nov 2024 00:14:06 +0000 (18:14 -0600)
commitdfe7ab35147c2a2c8a63b2155227a86684d6dd4d
treec7e92009a2ae9c667badb1053d3e70d7ab9f9212
parent5430a5f67e5f73b0411d550b5dd6aa446a3b0299
lmb.c: add missing comma in lmb_dump_region()

In the message string " %s[%d]\t[0x%llx-0x%llx], 0x%08llx bytes flags: "
a comma is missing before flags.

To avoid increasing the code size replace '0x%' by '%#'.

Printing the size with leading zeros but not the addresses does not really
make sense. Remove the leading zeros from the size output.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
[trini: Fix test/cmd/bdinfo.c for these changes]
Signed-off-by: Tom Rini <trini@konsulko.com>
lib/lmb.c
test/cmd/bdinfo.c