mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5 patch] ma600.c won't compile
@ 2003-06-15 18:45 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2003-06-15 18:45 UTC (permalink / raw)
  To: linux-kernel

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

--- linux-2.5.71-orig/drivers/net/irda/ma600.c	2003-05-26 21:00:39.000000000 -0400
+++ linux-2.5.71-perso/drivers/net/irda/ma600.c	2003-06-14 17:30:28.000000000 -0400
@@ -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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-15 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-15 18:45 [2.5 patch] ma600.c won't compile Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®