Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f6e495a2 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Christoph Hellwig
Browse files

mptfusion: simplify rounding



Rounding up to a multiple of 4 should be done using the ALIGN
macro. As a bonus, this also makes the generated code smaller.

In GetIocFacts(), sz is assigned to a few lines below without being
read in the meantime, so it is ok that it doesn't end up with the same
value as facts->FWImageSize.

Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: default avatarJoe Lawrence <joe.lawrence@stratus.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 84e32a06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment