Re: [ERROR][PATCH] smbfs compilation in 2.5.21

Urban Widmark (
Sun, 16 Jun 2002 19:13:03 +0200 (CEST)

On Sun, 16 Jun 2002, Erik McKee wrote:

> THis is from the bk tree. It's gcc 2.95.3. That solution might be a bettr one
> after all ;) However, would the stringifying done here to get the function
> name in there mess that up?


The whole point of the original change was to not do any string
concatenation of __FUNCTION__, but it is a string already.

However, could you try this change instead:

-# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__, ## a)
+# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__ , ## a)

Apparently an extra space before the comma before ## is supposed to
matter. Several of the macros I pointed at before already do that.

See also


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at