提交 2fe01754 编写于 作者: A Antonino A. Daplas 提交者: Linus Torvalds

[PATCH] nvidiafb: Fix empty macro

Use do {} while(0) for empty reverse_order() macro.
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 475666d4
......@@ -105,7 +105,7 @@ do { \
*a = byte_rev[*a]; \
} while(0)
#else
#define reverse_order(l)
#define reverse_order(l) do { } while(0)
#endif /* __LITTLE_ENDIAN */
#endif /* __NV_LOCAL_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册