[PATCH] kernel: printk: Fix a coding style issue.
From: Ralf Thielow
Date: Tue Oct 19 2010 - 14:19:17 EST
Fixed a coding style issue of "do_syslog" in
case of open or close the log.
Signed-off-by: Ralf Thielow <ralf.thielow@xxxxxxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/