[PATCH] font: fbconsole: use DIV_ROUND_UP for clarity

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 11 01:30:49 PDT 2024


On Wed, 11 Sep 2024 10:17:11 +0200, Ahmad Fatoum wrote:
> Adding X - 1 and then dividing by X is effectively rounding up, so let's
> use the macro to make this clearer.
> 
> No functional change.
> 
> 

Applied, thanks!

[1/1] font: fbconsole: use DIV_ROUND_UP for clarity
      https://git.pengutronix.de/cgit/barebox/commit/?id=dacd9045fb10 (link may not be stable)

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




More information about the barebox mailing list