PCI/ACPI: Print info if host bridge notify handler installation fails
authorTang Chen <tangchen@cn.fujitsu.com>
Mon, 21 Jan 2013 21:20:49 +0000 (13:20 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 25 Jan 2013 21:51:47 +0000 (14:51 -0700)
commit121b090e7d4063b65f40c267ef0fb34fb278dfdf
tree3e2d276c97141256afb99cea2519edc1c4d678a5
parent668192b678201d2fff27c6cc76bb003c1ec4a52a
PCI/ACPI: Print info if host bridge notify handler installation fails

acpi_install_notify_handler() could fail.  So check the exit status
and give a better debug info.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c