All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
To: Joao.Pinto@synopsys.com, bhelgaas@google.com,
	jg1.han@samsung.com, lorenzo.pieralisi@arm.com, kishon@ti.com
Cc: linux-pci@vger.kernel.org, gustavo.pimentel@synopsys.com
Subject: [PATCH 0/4] Code cleanup and small improvements
Date: Wed,  7 Mar 2018 10:57:56 +0000	[thread overview]
Message-ID: <cover.1520419084.git.gustavo.pimentel@synopsys.com> (raw)

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

             reply	other threads:[~2018-03-07 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-07 10:57 Gustavo Pimentel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1520419084.git.gustavo.pimentel@synopsys.com \
    --to=gustavo.pimentel@synopsys.com \
    --cc=Joao.Pinto@synopsys.com \
    --cc=bhelgaas@google.com \
    --cc=jg1.han@samsung.com \
    --cc=kishon@ti.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.