[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpVL-dwiwTdVbvM3FPZfaJhSN_pRuB0-nm7sxrFtrSH-2A@mail.gmail.com>
Date: Fri, 13 Dec 2013 10:46:28 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Changli Gao <xiaosuo@...il.com>
Cc: Linux Netdev List <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next v2 2/6] net_sched: act: use standard struct list_head
On Thu, Dec 12, 2013 at 10:32 PM, Changli Gao <xiaosuo@...il.com> wrote:
> On Fri, Dec 13, 2013 at 12:56 PM, Cong Wang <xiyou.wangcong@...il.com> wrote:
>>
>> @@ -85,12 +86,18 @@ static inline int
>> tcf_exts_is_predicative(struct tcf_exts *exts)
>> {
>> #ifdef CONFIG_NET_CLS_ACT
>> - return !!exts->action;
>> + return list_empty(&exts->head);
>> #else
>> return 0;
>> #endif
>> }
>>
>
> You missed a "!".
>
Fixed.
Thanks.
--
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