Re: [PATCH] Clarify error on directive in macro arguments (Re:[PATCH] jffs2: fix sparse errors: directive in argument list)

From: Erico Nunes
Date: Sun Nov 17 2013 - 21:23:45 EST


On Mon, Nov 18, 2013 at 12:15 AM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> On Sun, 2013-11-17 at 21:07 -0500, Greg Price wrote:
>
> Maybe, but this case isn't a macro. It's a function.
> Dunno if differentiating when it's a macro or a
> function is difficult though.
>
>

The case which was initially reported by sparse at
http://www.spinics.net/lists/kernel/msg1636974.html was using pr_info
(which is a macro) and not printk.
--
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/