mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Nick Andrew <nick@nick-andrew.net>
Cc: Trivial Kernel Patches <trivial@kernel.org>,
	perex@perex.cz, <linux-kernel@vger.kernel.org>,
	Pavel Machek <pavel@suse.cz>
Subject: Re: [PATCH] sound: this amplifier only goes up to 7
Date: Mon, 14 Apr 2008 14:23:55 +0200	[thread overview]
Message-ID: <s5hprssfwv8.wl%tiwai@suse.de> (raw)
In-Reply-To: <20080414104913.24603.45227.stgit@marcab.local.tull.net>

At Mon, 14 Apr 2008 20:49:56 +1000,
Nick Andrew wrote:
> 
> sound: kernel log levels are 0-7
> 
> Kernel log levels are 0-7, not 0-9.
> 
> Signed-off-by: Nick Andrew <nick@nick-andrew.net>

Thanks, applied to ALSA tree.


Takashi

> ---
> 
>  sound/core/misc.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/sound/core/misc.c b/sound/core/misc.c
> index 102d1c3..38524f6 100644
> --- a/sound/core/misc.c
> +++ b/sound/core/misc.c
> @@ -39,7 +39,7 @@ void snd_verbose_printk(const char *file, int line, const char *format, ...)
>  {
>  	va_list args;
>  	
> -	if (format[0] == '<' && format[1] >= '0' && format[1] <= '9' && format[2] == '>') {
> +	if (format[0] == '<' && format[1] >= '0' && format[1] <= '7' && format[2] == '>') {
>  		char tmp[] = "<0>";
>  		tmp[1] = format[1];
>  		printk("%sALSA %s:%d: ", tmp, file, line);
> @@ -60,7 +60,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...)
>  {
>  	va_list args;
>  	
> -	if (format[0] == '<' && format[1] >= '0' && format[1] <= '9' && format[2] == '>') {
> +	if (format[0] == '<' && format[1] >= '0' && format[1] <= '7' && format[2] == '>') {
>  		char tmp[] = "<0>";
>  		tmp[1] = format[1];
>  		printk("%sALSA %s:%d: ", tmp, file, line);
> 

      reply	other threads:[~2008-04-14 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 21:20 sound/usb/usbaudio.c: printk() is fine Pavel Machek
2008-04-14 10:20 ` Takashi Iwai
2008-04-14 10:49   ` [PATCH] sound: this amplifier only goes up to 7 Nick Andrew
2008-04-14 12:23     ` Takashi Iwai [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=s5hprssfwv8.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nick@nick-andrew.net \
    --cc=pavel@suse.cz \
    --cc=perex@perex.cz \
    --cc=trivial@kernel.org \
    /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

all inboxes | Powered by JetHome®