# \[PATCH 11/17\] nvidiafb: Fix empty macro

- From: Antonino A. Daplas \<adaplas@gmail.com\>
- Date: 2005-10-18 20:43:28 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/10/13455583
- Thread: https://ratatoskr.run/linux-fbdev/2005/10/13455583/t.md

```text
Use do {} while(0) for empty reverse_order() macro.

Signed-off-by: Antonino Daplas <redacted>
---
 nv_local.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff --git a/drivers/video/nvidia/nv_local.h b/drivers/video/nvidia/nv_local.h
--- 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__ */




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
```
