Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765045AbYBMVod (ORCPT ); Wed, 13 Feb 2008 16:44:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763866AbYBMVax (ORCPT ); Wed, 13 Feb 2008 16:30:53 -0500 Received: from smtp4.pp.htv.fi ([213.243.153.38]:50832 "EHLO smtp4.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763904AbYBMVaw (ORCPT ); Wed, 13 Feb 2008 16:30:52 -0500 Date: Wed, 13 Feb 2008 23:30:37 +0200 From: Adrian Bunk To: Ingo Molnar , Nick Piggin Cc: linux-kernel@vger.kernel.org Subject: [2.6 patch] make printk_recursion_bug_msg[] static Message-ID: <20080213213037.GJ3383@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 29 printk_recursion_bug_msg[] can become static. Signed-off-by: Adrian Bunk --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/