mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] arm/mach-omap2: use symbolic defines for console loglevels instead of numbers
Date: Wed, 20 May 2015 10:13:47 -0700	[thread overview]
Message-ID: <20150520171346.GY10274@atomide.com> (raw)
In-Reply-To: <1426589144-29141-1-git-send-email-kuleshovmail@gmail.com>

* Alexander Kuleshov <kuleshovmail@gmail.com> [150317 03:46]:
> <linux/printk.h> provides macros for console log level, let's use it
> instead of numbers.
> 
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>

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
> 

      reply	other threads:[~2015-05-20 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 10:45 Alexander Kuleshov
2015-05-20 17:13 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150520171346.GY10274@atomide.com \
    --to=tony@atomide.com \
    --cc=kuleshovmail@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome