The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* 2.4.20-rc1: oops in drivers/acpi/namespace/nswalk.c (with patch)
@ 2002-11-07  5:30 H. Peter Anvin
  0 siblings, 0 replies; only message in thread
From: H. Peter Anvin @ 2002-11-07  5:30 UTC (permalink / raw)
  To: linux-kernel, Patrick Mochel

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

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

[-- Attachment #2: nswalk.patch --]
[-- Type: text/plain, Size: 293 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-07  5:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-07  5:30 2.4.20-rc1: oops in drivers/acpi/namespace/nswalk.c (with patch) H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox