From mboxrd@z Thu Jan 1 00:00:00 1970 From: Or Gerlitz Subject: Re: [PATCH net-next 09/10] net/mlx4_en: Manage flow steering rules with ethtool Date: Tue, 3 Jul 2012 11:14:05 +0300 Message-ID: <4FF2A9CD.7010201@mellanox.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: David Laight , Joe Perches , "Ben Hutchings" , , , , , , Hadar Hen Zion , Amir Vadai To: Andreas Schwab Return-path: Received: from eu1sys200aog102.obsmtp.com ([207.126.144.113]:56874 "HELO eu1sys200aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932166Ab2GCIOt (ORCPT ); Tue, 3 Jul 2012 04:14:49 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 7/2/2012 2:35 PM, Andreas Schwab wrote: > > field == 0 || field == (typeof field)~(typeof field)0 > You can avoid that by using (typeof field)-1. > OK, thanks everybody, we will take that path. Or.