mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>
Subject: [PATCH] remove blank line in show_trace()
Date: Wed, 16 Jun 2004 22:23:35 -0700	[thread overview]
Message-ID: <20040616222335.027f001c.rddunlap@osdl.org> (raw)


Delete a blank line for more error reporting on-screen.

A couple of days ago, Norm Diamond reported some instances
of newlines taking up valuable screen space instead of those
lines containing useful registers/stack/messages.
This removes one instance of an unneeded blank line.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>


diffstat:=
 arch/i386/kernel/traps.c |    1 -
 1 files changed, 1 deletion(-)

diff -Naurp ./arch/i386/kernel/traps.c~stack_newline ./arch/i386/kernel/traps.c
--- ./arch/i386/kernel/traps.c~stack_newline	2004-06-15 22:19:01.000000000 -0700
+++ ./arch/i386/kernel/traps.c	2004-06-16 21:48:15.000000000 -0700
@@ -163,7 +163,6 @@ void show_trace(struct task_struct *task
 			break;
 		printk(" =======================\n");
 	}
-	printk("\n");
 }
 
 void show_stack(struct task_struct *task, unsigned long *esp)


--
~Randy

                 reply	other threads:[~2004-06-17  5:28 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=20040616222335.027f001c.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®