]> err.no Git - linux-2.6/commit
udf: replace all adds to little endians variables with le*_add_cpu
authormarcin.slusarz@gmail.com <marcin.slusarz@gmail.com>
Wed, 30 Jan 2008 21:03:57 +0000 (22:03 +0100)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:22:28 +0000 (14:22 +0200)
commitc2104fda5e6a6981e385b2d11c5c591ab06d82a2
tree58d450dc7dfc8086391e5b9895847f6dfa8f05a2
parent456390de465e5a19c84bca5d78e2550971ab5a96
udf: 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
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/balloc.c
fs/udf/ialloc.c
fs/udf/inode.c