All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Paul Mackeras <paulus@samba.org>, linuxppc-dev@ozlabs.org
Subject: [PATCH] fix xmon print_bug_trap compile error
Date: Thu, 22 Mar 2007 23:11:17 +0100	[thread overview]
Message-ID: <20070322221117.GA13481@aepfle.de> (raw)


These 2 members of struct bug_entry are inside CONFIG_DEBUG_BUGVERBOSE

arch/powerpc/xmon/xmon.c:1364: error: 'const struct bug_entry' has no member named 'file'
arch/powerpc/xmon/xmon.c:1364: error: 'const struct bug_entry' has no member named 'line'

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
 arch/powerpc/xmon/xmon.c |    2 ++
 1 file changed, 2 insertions(+)

Index: b/arch/powerpc/xmon/xmon.c
===================================================================
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1360,8 +1360,10 @@ static void print_bug_trap(struct pt_reg
 	if (is_warning_bug(bug))
 		return;
 
+#ifdef CONFIG_DEBUG_BUGVERBOSE
 	printf("kernel BUG at %s:%u!\n",
 	       bug->file, bug->line);
+#endif
 }
 
 void excprint(struct pt_regs *fp)

             reply	other threads:[~2007-03-22 22:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 22:11 Olaf Hering [this message]
2007-03-22 22:14 ` [PATCH] fix link errors when eeh is disabled Olaf Hering
2007-03-23  0:11   ` [PATCH] remove unused inclusion of linux/ide.h Olaf Hering
2007-03-23  7:16   ` [PATCH] fix link errors when eeh is disabled Stephen Rothwell
2007-03-23  6:00 ` [PATCH] fix xmon print_bug_trap compile error Stephen Rothwell

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=20070322221117.GA13481@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.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.