From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755800AbdAJXG7 (ORCPT ); Tue, 10 Jan 2017 18:06:59 -0500 Received: from smtprelay0156.hostedemail.com ([216.40.44.156]:34231 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751531AbdAJXG4 (ORCPT ); Tue, 10 Jan 2017 18:06:56 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1461:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2828:2859:2911:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4184:4250:4321:4425:5007:6119:7903:9025:10004:10400:10848:11026:11232:11658:11914:12043:12296:12740:12760:12895:13069:13141:13230:13311:13357:13439:14180:14181:14659:14721:21060:21080:21451:30012:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:7,LUA_SUMMARY:none X-HE-Tag: mouth84_594bfd3fa9a04 X-Filterd-Recvd-Size: 2160 Message-ID: <1484089612.12006.11.camel@perches.com> Subject: Re: [PATCH 0/2] Style fixes: open code obfuscating macros From: Joe Perches To: Jon Mason , Logan Gunthorpe Cc: Xiangliang Yu , Dave Jiang , Allen Hubbe , Greg Kroah-Hartman , linux-ntb@googlegroups.com, linux-kernel Date: Tue, 10 Jan 2017 15:06:52 -0800 In-Reply-To: References: <1483407036-20697-1-git-send-email-logang@deltatee.com> <20170110215527.GD13381@kudzu.us> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.3-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2017-01-10 at 16:59 -0500, Jon Mason wrote: > On Tue, Jan 10, 2017 at 4:55 PM, Jon Mason wrote: > > On Mon, Jan 02, 2017 at 06:30:34PM -0700, Logan Gunthorpe wrote: > > > Hi, > > > > > > I had copied some poor code style from the NTB drivers into an unrelated > > > driver. Upon review of my new code, I learned it was not a good idea > > > to sweep dirty things under the rug^W macro. See [1], where Gregg k-h > > > suggested I fix the problem at the source. > > > > > > Thus, please merge the following two patches to improve the style of > > > the NTB drivers. > > > > > > Thanks, > > > > > > Logan > > > > Applying the series, thanks > > Gaaa, these don't apply cleanly. Can you rebase on my > https://github.com/jonmason/ntb (branch ntb) and resubmit? It might also be better to add and use YA logging macro like ndev_dbg #define ndev_dvg(ndev, fmt, ...) \ dev_dbg(&(ndev)->ntb.pdev->dev, fmt, ##__VA_ARGS__) so that the new temporaries that are used just for debugging are not required.