Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbdLEVsx (ORCPT ); Tue, 5 Dec 2017 16:48:53 -0500 Received: from ale.deltatee.com ([207.54.116.67]:53346 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751288AbdLEVsw (ORCPT ); Tue, 5 Dec 2017 16:48:52 -0500 To: Serge Semin , Jon Mason Cc: Dave Jiang , "Hubbe, Allen" , "S-k, Shyam-sundar" , "Yu, Xiangliang" , Gary R Hook , Sergey.Semin@t-platforms.ru, linux-ntb , linux-kernel References: <20171203191736.3399-1-fancer.lancer@gmail.com> <20171203191736.3399-2-fancer.lancer@gmail.com> <20171205173154.GB1701@mobilestation> <20171205205402.GJ1701@mobilestation> From: Logan Gunthorpe Message-ID: <87c96df1-eb87-5fd0-2f45-15df0a446cba@deltatee.com> Date: Tue, 5 Dec 2017 14:48:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171205205402.GJ1701@mobilestation> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, Sergey.Semin@t-platforms.ru, gary.hook@amd.com, Xiangliang.Yu@amd.com, Shyam-sundar.S-k@amd.com, Allen.Hubbe@emc.com, dave.jiang@intel.com, jdmason@kudzu.us, fancer.lancer@gmail.com X-SA-Exim-Mail-From: logang@deltatee.com Subject: Re: [PATCH v2 01/15] NTB: Rename NTB messaging API methods X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 442 Lines: 17 On 05/12/17 01:54 PM, Serge Semin wrote: >> Just because no one said anything before, doesn't mean it's >> acceptable. I think that is the official Linux code review mantra ;-) >> >> Okay, if we are going to do it this way, then return ~0 instead. At >> least that way there is no ugly cast. >> > > Ok. I'll replace it with ~(u32)0. That's exactly the same just more confusing. I'm still in favor of leaving it the way it was. Logan