lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hprssfwv8.wl%tiwai@suse.de>
Date:	Mon, 14 Apr 2008 14:23:55 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Nick Andrew <nick@...k-andrew.net>
Cc:	Trivial Kernel Patches <trivial@...nel.org>, perex@...ex.cz,
	<linux-kernel@...r.kernel.org>, Pavel Machek <pavel@...e.cz>
Subject: Re: [PATCH] sound: this amplifier only goes up to 7

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@...k-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);
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ