All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Style fixes: open code obfuscating macros
@ 2017-01-11  0:33 Logan Gunthorpe
  2017-01-11  0:33 ` [PATCH v2 1/4] ntb_hw_amd: Style fixes: open code macros that just obfuscate code Logan Gunthorpe
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Logan Gunthorpe @ 2017-01-11  0:33 UTC (permalink / raw)
  To: Xiangliang Yu, Jon Mason, Dave Jiang, Allen Hubbe, Joe Perches
  Cc: Greg Kroah-Hartman, linux-ntb, linux-kernel, Logan Gunthorpe

Hi,

Here's an updated version of the style fixes patchset. The differences
from v1 are:

1) Rebased onto Jon Mason's current NTB branch

2) Added two more patches to convert the print lines to use the ntb
device and not the pci one. This seems more sane, shortens a bunch
of lines and removes the need for temporaries.

Note with (2): I've tried my best to ensure that statements that print
before the ntb device is registered still use the PCI device. However,
someone should probably review and test this as I don't have access
to all types of hardware to do that.

Thanks,

Logan



Logan Gunthorpe (4):
  ntb_hw_amd: Style fixes: open code macros that just obfuscate code
  ntb_hw_intel: Style fixes: open code macros that just obfuscate code
  ntb_hw_amd: Print kernel messages with the ntb device not the pci one
  ntb_hw_intel: Print kernel messages with the ntb device not the pci
    one

 drivers/ntb/hw/amd/ntb_hw_amd.c     |  60 +++++------
 drivers/ntb/hw/amd/ntb_hw_amd.h     |   3 -
 drivers/ntb/hw/intel/ntb_hw_intel.c | 192 +++++++++++++++++-------------------
 drivers/ntb/hw/intel/ntb_hw_intel.h |   3 -
 4 files changed, 124 insertions(+), 134 deletions(-)

--
2.1.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-08 16:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11  0:33 [PATCH v2 0/4] Style fixes: open code obfuscating macros Logan Gunthorpe
2017-01-11  0:33 ` [PATCH v2 1/4] ntb_hw_amd: Style fixes: open code macros that just obfuscate code Logan Gunthorpe
2017-03-08 16:41   ` Jon Mason
2017-01-11  0:33 ` [PATCH v2 2/4] ntb_hw_intel: " Logan Gunthorpe
2017-03-08 16:41   ` Jon Mason
2017-01-11  0:33 ` [PATCH v2 3/4] ntb_hw_amd: Print kernel messages with the ntb device not the pci one Logan Gunthorpe
2017-03-08 16:43   ` Jon Mason
2017-01-11  0:33 ` [PATCH v2 4/4] ntb_hw_intel: " Logan Gunthorpe
2017-01-26 20:00 ` [PATCH v2 0/4] Style fixes: open code obfuscating macros Logan Gunthorpe
2017-02-01 20:08   ` Jon Mason
2017-02-01 22:11     ` Logan Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.