Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

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

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


rdunlap at xenotime

Nov 4, 2009, 4:04 PM

Post #1 of 2 (234 views)
Permalink
[PATCH 1/8] sound: use KERN_WARNING, not KERN_WARN

From: Randy Dunlap <randy.dunlap [at] oracle>
Subject: Use KERN_WARNING instead of KERN_WARN, which does not exist

Reported-by: Andrew Lyon <andrew.lyon [at] gmail>
Signed-off-by: Randy Dunlap <randy.dunlap [at] oracle>
Cc: Jaroslav Kysela <perex [at] perex>
Cc: Takashi Iwai <tiwai [at] suse>
---
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 [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


tiwai at suse

Nov 5, 2009, 12:10 AM

Post #2 of 2 (218 views)
Permalink
Re: [PATCH 1/8] sound: use KERN_WARNING, not KERN_WARN [In reply to]

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

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 [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.