From: Gary Hade <garyhade@us.ibm.com>
To: linux-acpi@vger.kernel.org, len.brown@intel.com
Cc: pcihpd-discuss@lists.sourceforge.net, garyhade@us.ibm.com,
lcm@us.ibm.com
Subject: [PATCH] ACPI: Remove acpi_pci_unbind missing data complaint
Date: Fri, 26 Oct 2007 14:27:50 -0700 [thread overview]
Message-ID: <20071026212750.GC11875@us.ibm.com> (raw)
From: Gary Hade <garyhade@us.ibm.com>
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@us.ibm.com>
---
--- 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;
}
reply other threads:[~2007-10-26 21:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071026212750.GC11875@us.ibm.com \
--to=garyhade@us.ibm.com \
--cc=lcm@us.ibm.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=pcihpd-discuss@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.