Skip to contentSkip to conversation

Serious bug in ACPI enumeration

PATCH Pavel Machek 1 participant 1 message Apr 7, 2001 ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

My "toshiba workaround" was not toshiba specific: you stopped scanning at first device that was not present. That's bad, you have to continue scanning. Here's fix.

Pavel

drivers/acpi/namespace/nsxfobj.c +1 -1
@@ -592,7 +595,7 @@
 
 	status = acpi_cm_execute_STA (node, &flags);
 	if (ACPI_FAILURE (status)) {
-		return (status);
+		return AE_OK;
 	}
 
 	if (!(flags & 0x01)) {
Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]