From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752713AbdAJVzk (ORCPT ); Tue, 10 Jan 2017 16:55:40 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:33481 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbdAJVzb (ORCPT ); Tue, 10 Jan 2017 16:55:31 -0500 Date: Tue, 10 Jan 2017 16:55:28 -0500 From: Jon Mason To: Logan Gunthorpe Cc: Xiangliang Yu , Dave Jiang , Allen Hubbe , Greg Kroah-Hartman , linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Style fixes: open code obfuscating macros Message-ID: <20170110215527.GD13381@kudzu.us> References: <1483407036-20697-1-git-send-email-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1483407036-20697-1-git-send-email-logang@deltatee.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > [1] http://www.spinics.net/lists/linux-pci/msg56904.html > > > Logan Gunthorpe (2): > ntb_hw_amd: Style fixes: open code macros that just obfuscate code > ntb_hw_intel: Style fixes: open code macros that just obfuscate code > > drivers/ntb/hw/amd/ntb_hw_amd.c | 59 ++++++++------- > drivers/ntb/hw/amd/ntb_hw_amd.h | 3 - > drivers/ntb/hw/intel/ntb_hw_intel.c | 145 ++++++++++++++++++------------------ > drivers/ntb/hw/intel/ntb_hw_intel.h | 3 - > 4 files changed, 104 insertions(+), 106 deletions(-) > > -- > 2.1.4