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

Erico Nunes nunes.erico at gmail.com
Sun Nov 17 21:23:33 EST 2013


On Mon, Nov 18, 2013 at 12:15 AM, Joe Perches <joe at perches.com> 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.



More information about the linux-mtd mailing list