pciehp: fix error message about getting hotplug control
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 29 Apr 2008 16:15:04 +0000 (09:15 -0700)
committerJesse Barnes <jbarnes@hobbes.lan>
Tue, 29 Apr 2008 16:15:04 +0000 (09:15 -0700)
People are confused by the following error message that actually is
not for indicating a error.

    Cannot get control of hotplug hardware for pci %s

This patch changes this message to debug message.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@hobbes.lan>
drivers/pci/hotplug/pciehp_hpc.c

index 49883c5..891f81a 100644 (file)
@@ -1017,7 +1017,7 @@ static int pciehp_acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev)
                        break;
        }
 
-       err("Cannot get control of hotplug hardware for pci %s\n",
+       dbg("Cannot get control of hotplug hardware for pci %s\n",
                        pci_name(dev));
 
        kfree(string.pointer);