Re: [RFC] introduce pr_cont macro

From: Cyrill Gorcunov
Date: Thu Feb 26 2009 - 01:51:48 EST


On Thu, Feb 26, 2009 at 8:28 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> Ingo Molnar wrote:
>>
>> Btw., why do those macros use ##__VA_ARGS__ ? Why not a straightforward:
>>
>> #define __pr_cont(args...) \
>> printk(KERN_CONT args)
>>
>
> Don't know if anyone cares, but __VA_ARGS__ is C99 whereas args... is a gcc
> extension, AFAIK.
>
> -hpa
>

I think in a sake of consistency better would be using __VA_ARGS__ here
too (since all prevous pr_...'s use it).
--
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/