From: Ralf Baechle Date: Tue, 20 Feb 2007 21:57:45 +0000 (-0800) Subject: [PATCH] Fix build errors if bitop functions are do {} while macros X-Git-Tag: v2.6.21-rc1~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b8f850bebe093e37d283ed791039b39fa241e6d;p=pandora-kernel.git [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 Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed