LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make printk_recursion_bug_msg[] static
@ 2008-02-13 21:30 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
  To: Ingo Molnar, Nick Piggin; +Cc: linux-kernel

printk_recursion_bug_msg[] can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.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;
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [2.6 patch] make printk_recursion_bug_msg[] static
@ 2008-03-30 22:40 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-03-30 22:40 UTC (permalink / raw)
  To: Nick Piggin; +Cc: linux-kernel

printk_recursion_bug_msg[] can become static.

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

---

This patch has been sent on:
- 13 Feb 2008
- 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;
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [2.6 patch] make printk_recursion_bug_msg[] static
@ 2008-01-28 22:11 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-01-28 22:11 UTC (permalink / raw)
  To: Ingo Molnar, Nick Piggin; +Cc: linux-kernel

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;
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-30 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] make printk_recursion_bug_msg[] static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2008-03-30 22:40 Adrian Bunk
2008-01-28 22:11 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).