Bugzilla – Attachment 51585 Details for
Bug 117974
ACPI Errors on Acer Aspire 3003 LMi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Patch didn't apply cleanly; here's what I added.
acpi-frob-undeclared (text/plain), 1.27 KB, created by
Olaf Kirch
on 2005-10-06 11:51:55 UTC
(
hide
)
Description:
Patch didn't apply cleanly; here's what I added.
Filename:
MIME Type:
Creator:
Olaf Kirch
Created:
2005-10-06 11:51:55 UTC
Size:
1.27 KB
patch
obsolete
>From: Thomas Renninger <trenn@suse.de> >Subject: [ACPI] Work around undefined ZOO* objects >References: 117974 > >See also http://bugzilla.kernel.org/show_bug.cgi?id=5322 > >Index: linux-2.6.13/drivers/acpi/namespace/nssearch.c >=================================================================== >--- linux-2.6.13.orig/drivers/acpi/namespace/nssearch.c >+++ linux-2.6.13/drivers/acpi/namespace/nssearch.c >@@ -366,11 +366,20 @@ acpi_ns_search_and_enter ( > * In execute mode, just search, never add names. Exit now. > */ > if (interpreter_mode == ACPI_IMODE_EXECUTE) { >- ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, >- "%4.4s Not found in %p [Not adding]\n", >- (char *) &target_name, node)); >- >- return_ACPI_STATUS (AE_NOT_FOUND); >+ /* Workaround for undefined Z00X objects that seem to be predefined >+ * numbers in other compilers/interpreters. >+ * ACPI names are always 4 characters long? >+ */ >+ if (!memcmp((char *)&target_name, "Z00", 3)){ >+ ACPI_DEBUG_PRINT ((ACPI_DB_WARN, "Workaround undefined " >+ "[%4.4s] object in %p\n", >+ (char *) &target_name, node)); >+ } else{ >+ ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, >+ "%4.4s Not found in %p [Not adding]\n", >+ (char *) &target_name, node)); >+ return_ACPI_STATUS (AE_NOT_FOUND); >+ } > } > > /* Create the new named object */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 117974
:
50524
|
50525
|
51054
| 51585