2003-05-23 20:33:20

by Eduardo Pereira Habkost

[permalink] [raw]
Subject: [PATCH] ma600 irda driver: Remove unneeded '##' from macro definition

Detected when using gcc 3.3. Compilation fails without this fix.

--
Eduardo


diff -purN linux-2.4.orig/drivers/net/irda/ma600.c linux-2.4/drivers/net/irda/ma600.c
--- linux-2.4.orig/drivers/net/irda/ma600.c 2003-05-22 20:13:14.000000000 -0300
+++ linux-2.4/drivers/net/irda/ma600.c 2003-05-22 20:13:14.000000000 -0300
@@ -53,7 +53,7 @@
if(!(expr)) { \
printk( "Assertion failed! %s,%s,%s,line=%d\n",\
#expr,__FILE__,__FUNCTION__,__LINE__); \
- ##func}
+ func}
#endif

/* convert hex value to ascii hex */


Attachments:
(No filename) (549.00 B)
(No filename) (189.00 B)
Download all attachments