mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ma600 irda driver: Remove unneeded '##' from macro definition
@ 2003-05-23 20:45 Eduardo Pereira Habkost
  0 siblings, 0 replies; only message in thread
From: Eduardo Pereira Habkost @ 2003-05-23 20:45 UTC (permalink / raw)
  To: 95Etwl, dag; +Cc: linux-kernel, marcelo, alan

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

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 */

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

only message in thread, other threads:[~2003-05-23 20:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-23 20:45 [PATCH] ma600 irda driver: Remove unneeded '##' from macro definition Eduardo Pereira Habkost

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®