commit | f6e495a2b317fd7f3693d7c9217abfe943cbb3c6 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Tue Jul 01 14:56:20 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Tue Sep 16 09:09:43 2014 -0700 |
tree | ec420145125f580dc76630c1a1e88a14895eb047 | |
parent | 84e32a06f4f8756ce9ec3c8dc7e97896575f0771 [diff] |
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: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Joe Lawrence <joe.lawrence@stratus.com> Signed-off-by: Christoph Hellwig <hch@lst.de>