From: Gary Hade <garyhade@xxxxxxxxxx> Remove acpi_pci_unbind missing data complaints In cases where acpi_pci_bind() [drivers/acpi/pci_bind.c] does not attach device data, acpi_pci_unbind() [drivers/acpi/pci_bind.c] complains via an ACPI exception about the missing data when the device is removed. For example, acpi_pci_bind() does not attach data for non-existent device functions so when the device is removed using the ACPI PCI hotplug driver 'acpiphp' an ACPI exception is logged for every non-existent function. This patch avoids the confusing log messages by removing the unnecessary ACPI exception. Signed-off-by: Gary Hade <garyhade@xxxxxxxxxx> --- --- linux-2.6.24-rc1/drivers/acpi/pci_bind.c.orig 2007-10-26 06:47:36.000000000 -0700 +++ linux-2.6.24-rc1/drivers/acpi/pci_bind.c 2007-10-26 06:26:51.000000000 -0700 @@ -294,9 +294,6 @@ int acpi_pci_unbind(struct acpi_device * acpi_get_data(device->handle, acpi_pci_data_handler, (void **)&data); if (ACPI_FAILURE(status)) { - ACPI_EXCEPTION((AE_INFO, status, - "Unable to get data from device %s", - acpi_device_bid(device))); result = -ENODEV; goto end; } - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html