patch-2.4.19 linux-2.4.19/drivers/video/fbcon-cfb24.c

Next file: linux-2.4.19/drivers/video/fbcon.c
Previous file: linux-2.4.19/drivers/video/cyber2000fb.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/video/fbcon-cfb24.c linux-2.4.19/drivers/video/fbcon-cfb24.c
@@ -76,14 +76,14 @@
 	out1 = (in1<<8)  | (in2>>16); \
 	out2 = (in2<<16) | (in3>>8); \
 	out3 = (in3<<24) | in4; \
-    } while (0);
+    } while (0)
 #elif defined(__LITTLE_ENDIAN)
 #define convert4to3(in1, in2, in3, in4, out1, out2, out3) \
     do { \
 	out1 = in1       | (in2<<24); \
 	out2 = (in2>> 8) | (in3<<16); \
 	out3 = (in3>>16) | (in4<< 8); \
-    } while (0);
+    } while (0)
 #else
 #error FIXME: No endianness??
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)