From: Olaf Hering <olh@suse.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: [PATCH] remove double newline from sysrq action_msg
Date: Wed, 27 Oct 2004 14:38:32 +0200 [thread overview]
Message-ID: <20041027123832.GA19052@suse.de> (raw)
__handle_sysrq already prints a newline, so the action_msg string doesnt
need yet another newline.
diff -purN linux-2.6.9/arch/i386/mach-voyager/voyager_basic.c linux-2.6.10-rc1-bk6/arch/i386/mach-voyager/voyager_basic.c
--- linux-2.6.9/arch/i386/mach-voyager/voyager_basic.c 2004-10-18 23:53:45.000000000 +0200
+++ linux-2.6.10-rc1-bk6/arch/i386/mach-voyager/voyager_basic.c 2004-10-27 14:32:53.196332547 +0200
@@ -53,7 +53,7 @@ voyager_dump(int dummy1, struct pt_regs
static struct sysrq_key_op sysrq_voyager_dump_op = {
.handler = voyager_dump,
.help_msg = "Voyager",
- .action_msg = "Dump Voyager Status\n",
+ .action_msg = "Dump Voyager Status",
};
#endif
diff -purN linux-2.6.9/arch/ppc/xmon/start.c linux-2.6.10-rc1-bk6/arch/ppc/xmon/start.c
--- linux-2.6.9/arch/ppc/xmon/start.c 2004-10-27 14:27:41.138618227 +0200
+++ linux-2.6.10-rc1-bk6/arch/ppc/xmon/start.c 2004-10-27 14:32:40.212360526 +0200
@@ -102,7 +102,7 @@ static struct sysrq_key_op sysrq_xmon_op
{
.handler = sysrq_handle_xmon,
.help_msg = "Xmon",
- .action_msg = "Entering xmon\n",
+ .action_msg = "Entering xmon",
};
#endif
diff -purN linux-2.6.9/arch/ppc64/xmon/start.c linux-2.6.10-rc1-bk6/arch/ppc64/xmon/start.c
--- linux-2.6.9/arch/ppc64/xmon/start.c 2004-10-27 14:27:55.870582096 +0200
+++ linux-2.6.10-rc1-bk6/arch/ppc64/xmon/start.c 2004-10-27 14:32:57.627307280 +0200
@@ -35,7 +35,7 @@ static struct sysrq_key_op sysrq_xmon_op
{
.handler = sysrq_handle_xmon,
.help_msg = "Xmon",
- .action_msg = "Entering xmon\n",
+ .action_msg = "Entering xmon",
};
static int __init setup_xmon_sysrq(void)
diff -purN linux-2.6.9/kernel/power/poweroff.c linux-2.6.10-rc1-bk6/kernel/power/poweroff.c
--- linux-2.6.9/kernel/power/poweroff.c 2004-10-18 23:54:08.000000000 +0200
+++ linux-2.6.10-rc1-bk6/kernel/power/poweroff.c 2004-10-27 14:33:05.269313716 +0200
@@ -32,7 +32,7 @@ static void handle_poweroff(int key, str
static struct sysrq_key_op sysrq_poweroff_op = {
.handler = handle_poweroff,
.help_msg = "powerOff",
- .action_msg = "Power Off\n"
+ .action_msg = "Power Off"
};
static int pm_sysrq_init(void)
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
reply other threads:[~2004-10-27 12:38 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=20041027123832.GA19052@suse.de \
--to=olh@suse.de \
--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 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.