[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <15268.1442483832@warthog.procyon.org.uk>
Date: Thu, 17 Sep 2015 10:57:12 +0100
From: David Howells <dhowells@...hat.com>
To: Palmer Dabbelt <palmer@...belt.com>
Cc: dhowells@...hat.com, arnd@...db.de, viro@...iv.linux.org.uk,
ast@...mgrid.com, aishchuk@...ux.vnet.ibm.com, aarcange@...hat.com,
akpm@...ux-foundation.org, luto@...nel.org, acme@...nel.org,
bhe@...hat.com, 3chas3@...il.com, chris@...kel.net, dave@...1.net,
dyoung@...hat.com, drysdale@...gle.com, davem@...emloft.net,
ebiederm@...ssion.com, geoff@...radead.org,
gregkh@...uxfoundation.org, hpa@...or.com, mingo@...nel.org,
iulia.manda21@...il.com, plagnioj@...osoft.com, jikos@...nel.org,
josh@...htriplett.org, kexec@...ts.infradead.org,
linux-api@...r.kernel.org, linux-arch@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-xtensa@...ux-xtensa.org, mathieu.desnoyers@...icios.com,
jcmvbkbc@...il.com, paulmck@...ux.vnet.ibm.com,
a.p.zijlstra@...llo.nl, tglx@...utronix.de, tomi.valkeinen@...com,
vgoyal@...hat.com, x86@...nel.org
Subject: Re: [PATCH 03/13] Move COMPAT_ATM_ADDPARTY to net/atm/svc.c
Palmer Dabbelt <palmer@...belt.com> wrote:
> +#ifdef CONFIG_COMPAT
> +/* It actually takes struct sockaddr_atmsvc, not struct atm_iobuf */
> +#define COMPAT_ATM_ADDPARTY _IOW('a', ATMIOC_SPECIAL+4, struct compat_atm_iobuf)
> +#endif
I wonder if it would hurt to ditch the conditionals entirely. It only eats
cpp namespace, not C namespace so it won't affect the output if it is not used
because the code that uses it is compiled out.
David
--
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