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

H. Peter Anvin (hpa@zytor.com)
Wed, 06 Nov 2002 21:30:15 -0800


This is a multi-part message in MIME format.
--------------000401030706080903000506
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------000401030706080903000506
Content-Type: text/plain;
name="nswalk.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="nswalk.patch"

--- 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 */

--------------000401030706080903000506--

-
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/