lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] make printk_recursion_bug_msg[] static
printk_recursion_bug_msg[] can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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;



\
 
 \ /
  Last update: 2008-01-28 23:19    [W:0.021 / U:1.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site