Re: [PATCH 0/3] PCI: Clean up warnings

From: Bjorn Helgaas
Date: Fri Feb 05 2016 - 17:36:31 EST


On Tue, Feb 02, 2016 at 01:20:28PM -0600, Bjorn Helgaas wrote:
> I'm on a quest to clean up compiler warnings in drivers/pci. I'd like to
> be able to treat warnings as errors, at least for the 0day build robot.
>
> ---
>
> Bjorn Helgaas (3):
> PCI: Check device_attach() return value always
> PCI/PME: Remove redundant port lookup
> PCI/PME: Restructure pcie_pme_suspend() to prevent compiler warning
>
>
> drivers/pci/bus.c | 7 ++++++-
> drivers/pci/pcie/pme.c | 11 ++++++-----
> 2 files changed, 12 insertions(+), 6 deletions(-)

I applied these, with Rafael's ack, to pci/misc for v4.6.