Messages in this thread | | | Date | Tue, 19 Aug 2014 12:12:15 -0500 | From | Christoph Hellwig <> | Subject | Re: [PATCH] drivers: message: fusion: Simplify rounding |
| |
On Tue, Jul 01, 2014 at 02:56:20PM +0200, Rasmus Villemoes wrote: > 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>
Thanks, applied to the drivers-for-3.18 branch.
| |