[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070917040353.ac8dee7b.akpm@linux-foundation.org>
Date: Mon, 17 Sep 2007 04:03:53 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...ux-foundation.org, kwc@...i.umich.edu,
Trond.Myklebust@...app.com, linux-kernel@...r.kernel.org,
smfrench@...il.com, nfsv4@...ux-nfs.org
Subject: Re: [PATCH] KEYS: Make request_key() and co fundamentally
asynchronous
On Mon, 17 Sep 2007 11:56:00 +0100 David Howells <dhowells@...hat.com> wrote:
> > checkpatch generates a pile of warnings, all of which afacit are legit.
>
> For this warning:
>
> ERROR: need space after that ',' (ctx:WxV)
> #627: FILE: security/keys/internal.h:28:
> +#define kenter(FMT, ...) no_printk("==> %s("FMT")\n",__FUNCTION__ ,##__VA_ARGS__)
>
> ^
>
> This is with good reason. Some versions of cpp get the ## resolution "wrong"
> if __VA_ARGS__ is empty (ie: there are no arguments to the macro that
> correspond to the "..."). This can be worked around by abutting the "," the
> "##" and the "__VA_ARGS__" with no spaces, and inserting a space before the
> comma.
Tell me about it - I fixed that about 10000000000 times. Then we upped the
minimum required gcc version so it is no longer a problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists