[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52073E90.2030008@bfs.de>
Date: Sun, 11 Aug 2013 09:34:40 +0200
From: walter harms <wharms@....de>
To: Julia Lawall <julia.lawall@...6.fr>
CC: Dan Carpenter <dan.carpenter@...cle.com>,
Jonathan Cameron <jic23@....ac.uk>,
kernel-janitors@...r.kernel.org, Eric Miao <eric.y.miao@...il.com>,
Russell King <linux@....linux.org.uk>,
Haojian Zhuang <haojian.zhuang@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arch/arm/mach-pxa/stargate2.c: use ARRAY_AND_SIZE consistently
Am 11.08.2013 07:48, schrieb Julia Lawall:
> On Sun, 11 Aug 2013, Dan Carpenter wrote:
>
>> ARRAY_AND_SIZE() macro is horrible, and I would like it if it were
>> removed. What I meant before was just that probably people will
>> probably complain if we try to remove it.
>
> Well, I could either wait for someone to defend it, or send a patch
> getting rid of it and see what happens... I can't see what could go wrong
> with
>
> f(...,
> - ARRAY_AND_SIZE(e)
> + e, ARRAY_SIZE(e)
> , ...)
>
> so it should be an easy patch to create.
>
if it is not to much work, send a patch to get rid of it.
It seems all agree that the disadvantages outweighs it
advantages.
just my 2 cents,
wh
--
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