Commit 472c0644 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

Use KERN_WARNING instead of KERN_WARN, which does not exist

Reported-by: default avatarAndrew Lyon <andrew.lyon@gmail.com>
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 79a56ed0
...@@ -224,14 +224,14 @@ Here is pseudo-code showing how this might be done: ...@@ -224,14 +224,14 @@ Here is pseudo-code showing how this might be done:
card->playback_enabled = 1; card->playback_enabled = 1;
} else { } else {
card->playback_enabled = 0; card->playback_enabled = 0;
printk(KERN_WARN "%s: Playback disabled due to DMA limitations.\n", printk(KERN_WARNING "%s: Playback disabled due to DMA limitations.\n",
card->name); card->name);
} }
if (!pci_set_dma_mask(pdev, RECORD_ADDRESS_BITS)) { if (!pci_set_dma_mask(pdev, RECORD_ADDRESS_BITS)) {
card->record_enabled = 1; card->record_enabled = 1;
} else { } else {
card->record_enabled = 0; card->record_enabled = 0;
printk(KERN_WARN "%s: Record disabled due to DMA limitations.\n", printk(KERN_WARNING "%s: Record disabled due to DMA limitations.\n",
card->name); card->name);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment