Re: 2.6.0-test7: saa7134 breaks on gcc 2.95

From: Andrew Morton
Date: Wed Oct 15 2003 - 00:35:23 EST


Ingo Oeser <ioe-lkml@xxxxxxxxxx> wrote:
>
> GCC 2.95 doesn't like no space BEFORE AND AFTER the comma in the argument right
> before the "## arg".

Yup.

--- 25/drivers/media/video/saa7134/saa7134-core.c~a Tue Oct 14 22:29:09 2003
+++ 25-akpm/drivers/media/video/saa7134/saa7134-core.c Tue Oct 14 22:29:25 2003
@@ -95,7 +95,7 @@ struct list_head saa7134_devlist;
unsigned int saa7134_devcount;

#define dprintk(fmt, arg...) if (core_debug) \
- printk(KERN_DEBUG "%s/core: " fmt, dev->name, ## arg)
+ printk(KERN_DEBUG "%s/core: " fmt, dev->name , ## arg)

/* ------------------------------------------------------------------ */
/* debug help functions */

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/