Code cleanup and small improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PCI: dwc: designware: Define maximum number of vectorsdrivers/ | +6 | 0 replies | |
| 2/4 | PCI: dwc: Replace lower into upper case characters in comments and debug printksdrivers/ drivers/ drivers/ +1 more | +39 | 0 replies | |
| 3/4 | PCI: dwc: Replace magic number by definesdrivers/ drivers/ | +21 | 0 replies | |
| 4/4 | PCI: dwc: Replace division by 2 to right shiftdrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Code cleanup and small improvements
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(-)
Signature · 1 line
2.7.4