[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87sifqp15d.fsf@rustcorp.com.au>
Date: Mon, 05 Jan 2015 10:08:22 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Alex Elder <elder@...aro.org>, Joe Perches <joe@...ches.com>,
Masahiro Yamada <yamada.m@...panasonic.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Eric Miao <eric.y.miao@...il.com>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Russell King <linux@....linux.org.uk>,
Daniel Mack <daniel@...que.org>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Linus Walleij <linus.walleij@...aro.org>,
Steven Rostedt <rostedt@...dmis.org>,
Michal Nazarewicz <mina86@...a86.com>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Daniel Borkmann <dborkman@...hat.com>,
Alex Elder <alex.elder@...aro.org>,
Daniel Walter <dwalter@...gle.com>,
Peter Hurley <peter@...leysoftware.com>,
linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org
Subject: Re: [PATCH] linux/kernel.h: merge ARRAY_AND_SIZE defines
Alex Elder <elder@...aro.org> writes:
> On 12/23/2014 11:44 PM, Joe Perches wrote:
>> On Wed, 2014-12-24 at 14:38 +0900, Masahiro Yamada wrote:
>>> ARRAY_AND_SIZE is a useful macro. Its definition is already
>>> duplicated in some headers. Move it to include/linux/kernel.h.
>>
>> I think it's not a good/useful macro and
>> would prefer the uses expanded instead.
>
> For what it's worth, I agree. -Alex
Me too. It's fine in current usage, but I wouldn't want to see
more of it.
Cheers,
Rusty.
--
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