"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

common/avb_verify.c: Make use of LBAF for printing lbaint_t

When printing the contents of an lbaint_t variable we need to use LBAF
to print it in order to get the correct format type depending on 32 or
64bit-ness.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://lore.kernel.org/r/20250702010603.19354-2-trini@konsulko.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>

Tom Rini d9a9b4e3 116d1593

+2 -2
+2 -2
common/avb_verify.c
··· 320 320 } 321 321 if ((start + sectors) > (part->info.start + part->info.size)) { 322 322 sectors = part->info.start + part->info.size - start; 323 - printf("%s: read sector aligned to partition bounds (%ld)\n", 323 + printf("%s: read sector aligned to partition bounds (" LBAF ")\n", 324 324 __func__, sectors); 325 325 } 326 326 ··· 363 363 } 364 364 if ((start + sectors) > (part->info.start + part->info.size)) { 365 365 sectors = part->info.start + part->info.size - start; 366 - printf("%s: sector aligned to partition bounds (%ld)\n", 366 + printf("%s: sector aligned to partition bounds (" LBAF ")\n", 367 367 __func__, sectors); 368 368 } 369 369 if (unaligned) {