From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754762AbbETRNv (ORCPT ); Wed, 20 May 2015 13:13:51 -0400 Received: from muru.com ([72.249.23.125]:52466 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753328AbbETRNu (ORCPT ); Wed, 20 May 2015 13:13:50 -0400 Date: Wed, 20 May 2015 10:13:47 -0700 From: Tony Lindgren To: Alexander Kuleshov Cc: Russell King , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm/mach-omap2: use symbolic defines for console loglevels instead of numbers Message-ID: <20150520171346.GY10274@atomide.com> References: <1426589144-29141-1-git-send-email-kuleshovmail@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426589144-29141-1-git-send-email-kuleshovmail@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Alexander Kuleshov [150317 03:46]: > provides macros for console log level, let's use it > instead of numbers. > > Signed-off-by: Alexander Kuleshov Applying into omap-for-v4.2/cleanup thanks. Tony > --- > arch/arm/mach-omap2/serial.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c > index 57dee0c..5fb50fe 100644 > --- a/arch/arm/mach-omap2/serial.c > +++ b/arch/arm/mach-omap2/serial.c > @@ -203,7 +203,7 @@ static int __init omap_serial_early_init(void) > if (cmdline_find_option(uart_name)) { > console_uart_id = uart->num; > > - if (console_loglevel >= 10) { > + if (console_loglevel >= CONSOLE_LOGLEVEL_DEBUG) { > uart_debug = true; > pr_info("%s used as console in debug mode: uart%d clocks will not be gated", > uart_name, uart->num); > -- > 2.3.3.472.g20ceeac.dirty >