2.4.20-rc1: oops in drivers/acpi/namespace/nswalk.c (with patch)

From: H. Peter Anvin (hpa@zytor.com)
Date: Thu Nov 07 2002 - 00:30:15 EST


I have one machine which has been reliably oopsing in
drivers/acpi/namespace/nswalk.c -- this patch makes it work, but I have
no idea why. Either way, I thought someone would probably want to look
at it.

        -hpa


--- drivers/acpi/namespace/nswalk.c~ Wed Oct 24 14:06:22 2001
+++ drivers/acpi/namespace/nswalk.c Wed Nov 6 21:13:37 2002
@@ -63,6 +63,8 @@
 
         FUNCTION_ENTRY ();
 
+ if (!parent_node)
+ return NULL; /* Uhm... */
 
         if (!child_node) {
                 /* It's really the parent's _scope_ that we want */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:47 EST