diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-08 13:20:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 18:22:32 +0100 |
commit | 50e8a2890ed0eeb7a11ae0c39144fcdd1cad1cf8 (patch) | |
tree | b02bee4f8cf2bc16b63596e9c6a316bb91dfb58a /drivers/lguest | |
parent | byteorder: move le32_add_cpu & friends from OCFS2 to core (diff) | |
download | linux-50e8a2890ed0eeb7a11ae0c39144fcdd1cad1cf8.tar.xz linux-50e8a2890ed0eeb7a11ae0c39144fcdd1cad1cf8.zip |
ext3: replace all adds to little endians variables with le*_add_cpu
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);
sparse didn't generate any new warning with this patch
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: David Chinner <dgc@sgi.com>
Cc: Timothy Shimmin <tes@sgi.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions