Re: [PATCH 1/8] sound: use KERN_WARNING, not KERN_WARN

From: Takashi Iwai
Date: Thu Nov 05 2009 - 03:10:57 EST


At Wed, 04 Nov 2009 16:04:52 -0800,
Randy Dunlap wrote:
>
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Subject: Use KERN_WARNING instead of KERN_WARN, which does not exist
>
> Reported-by: Andrew Lyon <andrew.lyon@xxxxxxxxx>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: Jaroslav Kysela <perex@xxxxxxxx>
> Cc: Takashi Iwai <tiwai@xxxxxxx>

Applied now. Thanks.


Takashi

> ---
> sound/oss/sb_common.c | 4 ++--
> sound/oss/sb_ess.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> --- lnx-2632-rc6.orig/sound/oss/sb_common.c
> +++ lnx-2632-rc6/sound/oss/sb_common.c
> @@ -157,7 +157,7 @@ static void sb_intr (sb_devc *devc)
> break;
>
> default:
> - /* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */
> + /* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */
> ;
> }
> }
> @@ -177,7 +177,7 @@ static void sb_intr (sb_devc *devc)
> break;
>
> default:
> - /* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */
> + /* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */
> ;
> }
> }
> --- lnx-2632-rc6.orig/sound/oss/sb_ess.c
> +++ lnx-2632-rc6/sound/oss/sb_ess.c
> @@ -782,7 +782,7 @@ printk(KERN_INFO "FKS: ess_handle_channe
> break;
>
> default:;
> - /* printk(KERN_WARN "ESS: Unexpected interrupt\n"); */
> + /* printk(KERN_WARNING "ESS: Unexpected interrupt\n"); */
> }
> }
>
>
>
> --
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/