From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756867AbYDNMYS (ORCPT ); Mon, 14 Apr 2008 08:24:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751494AbYDNMYD (ORCPT ); Mon, 14 Apr 2008 08:24:03 -0400 Received: from mx1.suse.de ([195.135.220.2]:55447 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbYDNMYB (ORCPT ); Mon, 14 Apr 2008 08:24:01 -0400 Date: Mon, 14 Apr 2008 14:23:55 +0200 Message-ID: From: Takashi Iwai To: Nick Andrew Cc: Trivial Kernel Patches , perex@perex.cz, , Pavel Machek Subject: Re: [PATCH] sound: this amplifier only goes up to 7 In-Reply-To: <20080414104913.24603.45227.stgit@marcab.local.tull.net> References: <20080414104913.24603.45227.stgit@marcab.local.tull.net> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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); >