[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52A7CB03.2000209@huawei.com>
Date: Wed, 11 Dec 2013 10:16:35 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: David Laight <David.Laight@...LAB.COM>
CC: <davem@...emloft.net>, <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 6/6] net_sched: make macro be enclosed in parenthesis
On 2013/12/10 21:01, David Laight wrote:
>> #define SKIP_NONLOCAL(skb) \
>> +({ \
>> if (unlikely(skb->sk == NULL)) { \
>> *err = -1; \
>> return; \
>> - }
>> + } \
>> +})
>
> That one should be lined up against the fence and shot :-)
>
>
Hmm, not fully understand, did you mean that:
#define SKIP_NONLOCAL(skb) ({ \
if (unlikely(skb->sk == NULL)) { \
*err = -1; \
return; \
} \
})
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists