[PATCH v2 0/5] PCI: iproc: Cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  - Add local "dev" pointers to reduce repetition of things like
    "&pdev->dev".

  - Tidy up drvdata usage.

  - Remove some null pointer checking after adding corresponding checking
    elsewhere.

  - Hard-code the PCIe capability offset instead of searching for it.  This
    removes a little bit of dependency on struct pci_bus, with an eye
    toward moving the link maintenance before enumeration.

Changes from v1:
  I dropped the following patches because they were a lot of churn for
  questionable benefit:
    PCI: iproc: Rename accessors
    PCI: iproc: Name private struct pointer "iproc" consistently

---

Bjorn Helgaas (5):
      PCI: iproc: Add local struct device pointers
      PCI: iproc: Set drvdata at end of probe function
      PCI: iproc: Validate CSR base in BCMA setup code
      PCI: iproc: Remove redundant null pointer checking
      PCI: iproc: Hard-code PCIe capability offset instead of searching


 drivers/pci/host/pcie-iproc-bcma.c     |   14 ++++++---
 drivers/pci/host/pcie-iproc-platform.c |   27 +++++++++--------
 drivers/pci/host/pcie-iproc.c          |   52 ++++++++++++++++----------------
 3 files changed, 50 insertions(+), 43 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux