Skip to content

Style fixes: open code obfuscating macros

Logan Gunthorpe lkml ntb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ntb_hw_amd: Style fixes: open code macros that just obfuscate codedrivers/ntb/hw/amd/ntb_hw_amd.c drivers/ntb/hw/amd/ntb_hw_amd.h+31 -310 replies
2/2ntb_hw_intel: Style fixes: open code macros that just obfuscate codedrivers/ntb/hw/intel/ntb_hw_intel.c drivers/ntb/hw/intel/ntb_hw_intel.h+73 -750 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Style fixes: open code obfuscating macros

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