PCI: Report pci_pme_active() kmalloc failure
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Oct 2013 18:32:53 +0000 (12:32 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Oct 2013 22:57:04 +0000 (16:57 -0600)
commit0394cb192db4397753046775a8caa736397737b5
treeafb712e0d962650680a1ff9511699ea43b51077d
parent004bd069f876816f5f9023e8b1498753bca103fa
PCI: Report pci_pme_active() kmalloc failure

Previously, if kmalloc() failed, we claimed "PME# enabled" in dmesg,
even though we didn't add the device to the pci_pme_list.  This prints
a more correct warning.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci.c