diff options
| author | Marcin Slusarz <[email protected]> | 2008-02-08 12:20:13 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 17:22:32 +0000 |
| commit | 50e8a2890ed0eeb7a11ae0c39144fcdd1cad1cf8 (patch) | |
| tree | b02bee4f8cf2bc16b63596e9c6a316bb91dfb58a /lib/fault-inject.c | |
| parent | byteorder: move le32_add_cpu & friends from OCFS2 to core (diff) | |
| download | kernel-50e8a2890ed0eeb7a11ae0c39144fcdd1cad1cf8.tar.gz kernel-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 <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: David Chinner <[email protected]>
Cc: Timothy Shimmin <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
