Skip to contentSkip to conversation

ma600.c won't compile

PATCH New Samuel Thibault 1 participant 1 message Jun 15, 2003 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ma600.c won't compile

Hi,

At least gcc 3.3 complains about this (silly ?) thing in the ASSERT macro of drivers/net/irda/ma600.c (func is generally 'return -1;')

Regards,
Samuel Thibault

drivers/net/irda/ma600.c +1 -1
@@ -52,7 +52,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 */