diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-20 21:57:45 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-21 01:10:12 (GMT) |
commit | 7b8f850bebe093e37d283ed791039b39fa241e6d (patch) | |
tree | 5ecd31dda2658366a9e7feb4c8c6c95e01a57caf /fs/xfs | |
parent | e696268a73f7f59a333624f9abf8ffc9412ee64c (diff) | |
download | linux-7b8f850bebe093e37d283ed791039b39fa241e6d.tar.xz |
[PATCH] Fix build errors if bitop functions are do {} while macros
If one of clear_bit, change_bit or set_bit is defined as a do { } while (0)
function usage of these functions in parenthesis like
(foo_bit(23, &var))
while be expaned to something like
(do { ... } while (0)}).
resulting in a build error. This patch removes the useless parenthesis.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions