lkml.org 
[lkml]   [2013]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] kernel/srcu: merge common code into a macro
On 03/19/2013 05:22 PM, Joe Perches wrote:
>> +#define DEFINE_SRCU(name) _DEFINE_SRCU(name, )
>> +#define DEFINE_STATIC_SRCU(name) _DEFINE_SRCU(name, static)
>
> I think the use of an empty argument, even in
> a macro, unsightly.

__wait_event_lock_irq() => __wait_event_lock_irq() is a prominent user.
I would prefer to avoid adding something like /* nothing */.

Sebastian


\
 
 \ /
  Last update: 2013-03-19 19:21    [W:0.060 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site