[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080213213037.GJ3383@cs181133002.pp.htv.fi>
Date: Wed, 13 Feb 2008 23:30:37 +0200
From: Adrian Bunk <bunk@...nel.org>
To: Ingo Molnar <mingo@...e.hu>, Nick Piggin <npiggin@...e.de>
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] make printk_recursion_bug_msg[] static
printk_recursion_bug_msg[] can become static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
This patch has been sent on:
- 29 Jan 2008
77c15a78b65e014c00b533e4c5eeee98a71853fc
diff --git a/kernel/printk.c b/kernel/printk.c
index 3b7c968..f8e4229 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -623,7 +623,7 @@ asmlinkage int printk(const char *fmt, ...)
/* cpu currently holding logbuf_lock */
static volatile unsigned int printk_cpu = UINT_MAX;
-const char printk_recursion_bug_msg [] =
+static const char printk_recursion_bug_msg[] =
KERN_CRIT "BUG: recent printk recursion!\n";
static int printk_recursion_bug;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists