Date: Sun, 15 Jan 2017 15:33:45 -0800 (PST) From: jmrodriguezhw88@gmail.com Message-Id: In-Reply-To: <1484094731-15965-1-git-send-email-logang@deltatee.com> References: <1484094731-15965-1-git-send-email-logang@deltatee.com> Subject: Re: [PATCH 0/2] Style fixes: open code obfuscating macros MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4321_99687317.1484523225270" To: linux-ntb Cc: Xiangliang.Yu@amd.com, jdmason@kudzu.us, dave.jiang@intel.com, Allen.Hubbe@emc.com, joe@perches.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, logang@deltatee.com List-ID: ------=_Part_4321_99687317.1484523225270 Content-Type: multipart/alternative; boundary="----=_Part_4322_1055698061.1484523225271" ------=_Part_4322_1055698061.1484523225271 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Tuesday, January 10, 2017 at 4:33:17 PM UTC-8, 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 > > [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 > On Tuesday, January 10, 2017 at 4:33:17 PM UTC-8, 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 > > [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 > ------=_Part_4322_1055698061.1484523225271 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable


On Tuesday, January 10, 2017 at 4:33:17 PM UTC-8, = Logan Gunthorpe wrote:
Hi,

I had copied some poor code style from the NTB drivers into an unrelate= d
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

[1] http://www.spinics.net/lists/linux-pci/msg56904.html


Logan Gunthorpe (2):
=C2=A0 ntb_hw_amd: Style fixes: open code macros that just obfuscate co= de
=C2=A0 ntb_hw_intel: Style fixes: open code macros that just obfuscate = code

=C2=A0drivers/ntb/hw/amd/ntb_hw_amd.c =C2=A0 =C2=A0 | =C2=A059 +++= +++++-------
=C2=A0drivers/ntb/hw/amd/ntb_hw_amd.h =C2=A0 =C2=A0 | =C2=A0 3 -
=C2=A0drivers/ntb/hw/intel/ntb_hw_intel.c | 145 ++++++++++++++++++= ------------------
=C2=A0drivers/ntb/hw/intel/ntb_hw_intel.h | =C2=A0 3 -
=C2=A04 files changed, 104 insertions(+), 106 deletions(-)

--
2.1.4

On Tuesday, January 10, 2017 at 4:33:17 PM UTC-8, Loga= n Gunthorpe wrote:
Hi,

I had copied some poor code style from the NTB drivers into an unrelate= d
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

[1] http://www.spinics.net/lists/linux-pci/msg56904.html


Logan Gunthorpe (2):
=C2=A0 ntb_hw_amd: Style fixes: open code macros that just obfuscate co= de
=C2=A0 ntb_hw_intel: Style fixes: open code macros that just obfuscate = code

=C2=A0drivers/ntb/hw/amd/ntb_hw_amd.c =C2=A0 =C2=A0 | =C2=A059 +++= +++++-------
=C2=A0drivers/ntb/hw/amd/ntb_hw_amd.h =C2=A0 =C2=A0 | =C2=A0 3 -
=C2=A0drivers/ntb/hw/intel/ntb_hw_intel.c | 145 ++++++++++++++++++= ------------------
=C2=A0drivers/ntb/hw/intel/ntb_hw_intel.h | =C2=A0 3 -
=C2=A04 files changed, 104 insertions(+), 106 deletions(-)

--
2.1.4
------=_Part_4322_1055698061.1484523225271-- ------=_Part_4321_99687317.1484523225270--