alistair23-linux/drivers/message/fusion
Rasmus Villemoes f6e495a2b3 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>
2014-09-16 09:09:43 -07:00
..
lsi SCSI updates for post 3.2 merge window 2012-01-10 10:36:08 -08:00
Kconfig [SCSI] mpt fusion: Kconfig cleanup 2007-10-12 14:48:53 -04:00
Makefile message: change to new flag variable 2011-03-17 14:05:34 +01:00
mptbase.c mptfusion: simplify rounding 2014-09-16 09:09:43 -07:00
mptbase.h mptfusion: make adapter prod_name[] a pointer 2014-07-25 17:16:58 -04:00
mptctl.c mptfusion: simplify rounding 2014-09-16 09:09:43 -07:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h [SCSI] mpt fusion: Fixing 1078 data corruption issue for 36GB memory region 2009-06-09 17:21:31 -05:00
mptfc.c mptfusion: remove redundant kfree checks 2014-07-25 17:16:57 -04:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
mptsas.c mptfusion: tweak null pointer checks 2014-07-25 17:16:58 -04:00
mptsas.h mptfusion: combine fw_event_work and its event_data 2014-07-25 17:16:58 -04:00
mptscsih.c mptfusion: tweak null pointer checks 2014-07-25 17:16:58 -04:00
mptscsih.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
mptspi.c mptfusion: remove redundant kfree checks 2014-07-25 17:16:57 -04:00