projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475666d
)
[PATCH] nvidiafb: Fix empty macro
author
Antonino A. Daplas
<adaplas@gmail.com>
Mon, 7 Nov 2005 09:00:46 +0000
(
01:00
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:52 +0000
(07:53 -0800)
Use do {} while(0) for empty reverse_order() macro.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/nvidia/nv_local.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/nvidia/nv_local.h
b/drivers/video/nvidia/nv_local.h
index afee284fc73c964bbc4fb2782c0fa251b13ccb28..4243d7fae972a34fc0d197956fd760bb3d77db72 100644
(file)
--- a/
drivers/video/nvidia/nv_local.h
+++ b/
drivers/video/nvidia/nv_local.h
@@
-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__ */