Hi Bjorn,
On 10/12/2016 9:01 AM, Bjorn Helgaas wrote:
On Wed, Oct 12, 2016 at 07:53:03AM -0500, Bjorn Helgaas wrote:
- 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
I applied these to pci/host-iproc for v4.9. I hope to ask Linus to
pull them tomorrow, so if you see any issues, let me know soon.
That sounds good. Are these patches in the git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git at branch
pci/host-iproc?
I plan to sanity test them on various iProc based SoCs.
Thanks,
Ray
--
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