Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] nvidiafb: Fix empty macro

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>

authored by

Antonino A. Daplas and committed by
Linus Torvalds
2fe01754 475666d4

+1 -1
+1 -1
drivers/video/nvidia/nv_local.h
··· 105 105 *a = byte_rev[*a]; \ 106 106 } while(0) 107 107 #else 108 - #define reverse_order(l) 108 + #define reverse_order(l) do { } while(0) 109 109 #endif /* __LITTLE_ENDIAN */ 110 110 111 111 #endif /* __NV_LOCAL_H__ */