lkml.org 
[lkml]   [2003]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 */[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.016 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site