lkml.org 
[lkml]   [2015]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] linux/kernel.h: merge ARRAY_AND_SIZE defines
Date
Alex Elder <elder@linaro.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.


\
 
 \ /
  Last update: 2015-01-05 05:41    [W:0.040 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site