All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Code cleanup and small improvements
@ 2018-03-07 10:57 Gustavo Pimentel
  2018-03-07 10:57 ` [PATCH 1/4] PCI: dwc: designware: Define maximum number of vectors Gustavo Pimentel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gustavo Pimentel @ 2018-03-07 10:57 UTC (permalink / raw)
  To: Joao.Pinto, bhelgaas, jg1.han, lorenzo.pieralisi, kishon
  Cc: linux-pci, gustavo.pimentel

Sets a callback that defines the maximum number of MSI applied to
designware driver for future easiness and also as an example, since
the callback currently defines the default value.

Does a code cleanup by replacing magic numbers without a easy meaning
by a well known define that helps the human compreension.

Fix of the first characters on comments and debug messages to maintain
coherency.

Replaces a division by 2 by a simple right shift rotation of 1 bit.

The patch set was made against Lorenzo's dwc-msi branch.

Gustavo Pimentel (4):
  PCI: dwc: designware: Define maximum number of vectors
  PCI: dwc: Replace lower into upper case characters in comments and
    debug printks
  PCI: dwc: Replace magic number by defines
  PCI: dwc: Replace division by 2 to right shift

 drivers/pci/dwc/pcie-designware-ep.c   | 16 +++----
 drivers/pci/dwc/pcie-designware-host.c | 77 +++++++++++++++++++---------------
 drivers/pci/dwc/pcie-designware-plat.c |  8 +++-
 drivers/pci/dwc/pcie-designware.c      | 22 +++++-----
 drivers/pci/dwc/pcie-designware.h      |  1 +
 5 files changed, 70 insertions(+), 54 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-03-07 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 10:57 [PATCH 0/4] Code cleanup and small improvements Gustavo Pimentel
2018-03-07 10:57 ` [PATCH 1/4] PCI: dwc: designware: Define maximum number of vectors Gustavo Pimentel
2018-03-07 10:57 ` [PATCH 2/4] PCI: dwc: Replace lower into upper case characters in comments and debug printks Gustavo Pimentel
2018-03-07 10:57 ` [PATCH 3/4] PCI: dwc: Replace magic number by defines Gustavo Pimentel
2018-03-07 10:58 ` [PATCH 4/4] PCI: dwc: Replace division by 2 to right shift Gustavo Pimentel

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.