[PATCH] commands: bfetch: use 64-bit integer types for sizes

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 13 01:12:15 PDT 2026


On Sun, 29 Mar 2026 09:30:33 +0200, Ahmad Fatoum wrote:
> size_human_readable() accepts a 64-bit argument (unsigned long long),
> but we pass smaller types into it, leading to truncation when computing
> the total sizes for display.
> 
> Switch to 64-bit variables to fix this.
> 
> 
> [...]

Applied, thanks!

[1/1] commands: bfetch: use 64-bit integer types for sizes
      https://git.pengutronix.de/cgit/barebox/commit/?id=18a66f3dd416 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list