From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlzD5-0008NC-HY for kexec@lists.infradead.org; Thu, 18 Jun 2020 18:24:24 +0000 Date: Fri, 19 Jun 2020 02:23:23 +0800 From: kernel test robot Subject: [RFC PATCH] printk: _printk_rb_static_dict can be static Message-ID: <20200618182323.GA72993@4e49555bcca1> References: <20200618144919.9806-4-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200618144919.9806-4-john.ogness@linutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: John Ogness , Petr Mladek Cc: Andrea Parri , kbuild-all@lists.01.org, Sergey Senozhatsky , Paul McKenney , Peter Zijlstra , Greg Kroah-Hartman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Steven Rostedt , Thomas Gleixner Signed-off-by: kernel test robot --- printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 7642ef634956f..d812ada06735f 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -434,7 +434,7 @@ static u32 log_buf_len = __LOG_BUF_LEN; */ #define PRB_AVGBITS 5 /* 32 character average length */ -_DECLARE_PRINTKRB(printk_rb_static, CONFIG_LOG_BUF_SHIFT - PRB_AVGBITS, +static _DECLARE_PRINTKRB(printk_rb_static, CONFIG_LOG_BUF_SHIFT - PRB_AVGBITS, PRB_AVGBITS, PRB_AVGBITS, &__log_buf[0]); static struct printk_ringbuffer printk_rb_dynamic; _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec