From: Rasmus Villemoes Date: Tue, 1 Jul 2014 12:56:20 +0000 (+0200) Subject: mptfusion: simplify rounding X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e495a2b317fd7f3693d7c9217abfe943cbb3c6;p=pandora-kernel.git 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 Reviewed-by: Joe Lawrence Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed