From: Ralf Thielow <ralf.thielow@googlemail.com>
To: akpm@linux-foundation.org
Cc: jason.wessel@windriver.com, linux-kernel@vger.kernel.org,
Ralf Thielow <ralf.thielow@googlemail.com>
Subject: [PATCH] kernel: printk: Fix a coding style issue.
Date: Tue, 19 Oct 2010 20:19:01 +0200 [thread overview]
Message-ID: <1287512341-13130-1-git-send-email-ralf.thielow@googlemail.com> (raw)
Fixed a coding style issue of "do_syslog" in
case of open or close the log.
Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
---
kernel/printk.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/kernel/printk.c b/kernel/printk.c
index 8fe465a..3539744 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -273,9 +273,8 @@ int do_syslog(int type, char __user *buf, int len, bool from_file)
return error;
switch (type) {
- case SYSLOG_ACTION_CLOSE: /* Close log */
- break;
case SYSLOG_ACTION_OPEN: /* Open log */
+ case SYSLOG_ACTION_CLOSE: /* Close log */
break;
case SYSLOG_ACTION_READ: /* Read from log */
error = -EINVAL;
--
1.7.1
next reply other threads:[~2010-10-19 18:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 18:19 Ralf Thielow [this message]
2010-10-19 22:20 ` Andrew Morton
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=1287512341-13130-1-git-send-email-ralf.thielow@googlemail.com \
--to=ralf.thielow@googlemail.com \
--cc=akpm@linux-foundation.org \
--cc=jason.wessel@windriver.com \
--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®