summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-07-01 14:56:20 +0200
committerChristoph Hellwig <hch@lst.de>2014-09-16 18:09:43 +0200
commitf6e495a2b317fd7f3693d7c9217abfe943cbb3c6 (patch)
treeec420145125f580dc76630c1a1e88a14895eb047 /lib
parentqla2xxx: Use pci_enable_msix_range() instead of pci_enable_msix() (diff)
downloadlinux-f6e495a2b317fd7f3693d7c9217abfe943cbb3c6.tar.xz
linux-f6e495a2b317fd7f3693d7c9217abfe943cbb3c6.zip
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions