Skip to contentSkip to conversation

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

DISCUSSION Andrew Lyon 2 participants 2 messages Jul 3, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · 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:

Quoted 12 lines

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