]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] aacraid, ips: leX_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Fri, 28 Mar 2008 21:48:35 +0000 (14:48 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:05 +0000 (12:19 -0500)
commit36b8dd1bf787512e33efa7ce88eff437404ab22d
tree46958f49f57f05b4dfa9c20d9a6c16c82dfe8245
parent507e49693a074e878f20718fb97a5da01ccd9cbd
[SCSI] aacraid, ips: leX_add_cpu conversion

replace all:
little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) +
expression_in_cpu_byteorder);
with:
leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder);
generated with semantic patch

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: "Salyzyn, Mark" <Mark_Salyzyn@adaptec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aacraid/commsup.c
drivers/scsi/ips.c