lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ