All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org, Patrick Mochel <mochel@osdl.org>
Subject: 2.4.20-rc1: oops in drivers/acpi/namespace/nswalk.c (with patch)
Date: Wed, 06 Nov 2002 21:30:15 -0800	[thread overview]
Message-ID: <3DC9FA67.2000303@zytor.com> (raw)

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

                 reply	other threads:[~2002-11-07  5:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DC9FA67.2000303@zytor.com \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.