2009-07-03 11:54:32

by Andrew Lyon

[permalink] [raw]
Subject: Errors in OSS Sound Blaster driver / DMA Documentation (KERN_WARN)

Hi,

While investigating a compile failure of Xen kernel I noticed that the
OSS Sound Blaster driver and DMA Documentation have the same problem,
KERN_WARNING Is valid and declared in include/linux/kernel.h,
KERN_WARN does not exist, here are the affected files:

Documentation/DMA-mapping.txt: printk(KERN_WARN "%s: Playback
disabled due to DMA limitations.\n",
Documentation/DMA-mapping.txt: printk(KERN_WARN "%s: Record
disabled due to DMA limitations.\n",
arch/x86/kernel/cpu/common-xen.c: printk(KERN_WARN
"Unable to register CSTAR callback\n");
sound/oss/sb_common.c: /* printk(KERN_WARN
"Sound Blaster: Unexpected interrupt\n"); */
sound/oss/sb_common.c: /* printk(KERN_WARN
"Sound Blaster: Unexpected interrupt\n"); */
sound/oss/sb_ess.c: /* printk(KERN_WARN "ESS:
Unexpected interrupt\n"); */

Andy


Subject: Re: Errors in OSS Sound Blaster driver / DMA Documentation (KERN_WARN)

On Friday 03 July 2009 13:54:25 Andrew Lyon wrote:
> Hi,
>
> While investigating a compile failure of Xen kernel I noticed that the
> OSS Sound Blaster driver and DMA Documentation have the same problem,
> KERN_WARNING Is valid and declared in include/linux/kernel.h,
> KERN_WARN does not exist, here are the affected files:
>
> Documentation/DMA-mapping.txt: printk(KERN_WARN "%s: Playback
> disabled due to DMA limitations.\n",
> Documentation/DMA-mapping.txt: printk(KERN_WARN "%s: Record
> disabled due to DMA limitations.\n",
> arch/x86/kernel/cpu/common-xen.c: printk(KERN_WARN
> "Unable to register CSTAR callback\n");
> sound/oss/sb_common.c: /* printk(KERN_WARN
> "Sound Blaster: Unexpected interrupt\n"); */
> sound/oss/sb_common.c: /* printk(KERN_WARN
> "Sound Blaster: Unexpected interrupt\n"); */
> sound/oss/sb_ess.c: /* printk(KERN_WARN "ESS:
> Unexpected interrupt\n"); */

Good spotting. Care to send fixes for DMA-mapping / xen / sb?

Thanks.
Bart