]> err.no Git - linux-2.6/commit
ufs: [bl]e*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Mon, 28 Apr 2008 09:16:16 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:45 +0000 (08:58 -0700)
commit3c5afae2bac974fe2c15cd9439f921526b3ea2d7
tree10a79737e1e07d4202cfd4fa86bd616de8bca478
parent08fc99bfc39d5b394aa27498ac5f14df0ef8e52a
ufs: [bl]e*_add_cpu conversion

replace all:
big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) +
expression_in_cpu_byteorder);
with:
[bl]eX_add_cpu(&big/little_endian_variable, expression_in_cpu_byteorder);
generated with semantic patch

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/swab.h