From: Randy Dunlap Date: Mon, 7 Dec 2009 02:30:44 +0000 (-0800) Subject: Use KERN_WARNING instead of KERN_WARN, which does not exist X-Git-Tag: firefly_0821_release~9833^2~3935 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=472c06441a62e02c2ea5ea73d3d7fc51e146636a;p=firefly-linux-kernel-4.4.55.git Use KERN_WARNING instead of KERN_WARN, which does not exist Reported-by: Andrew Lyon Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds --- diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt index 01f24e94bdb6..8378a58f2822 100644 --- a/Documentation/DMA-mapping.txt +++ b/Documentation/DMA-mapping.txt @@ -224,14 +224,14 @@ Here is pseudo-code showing how this might be done: card->playback_enabled = 1; } else { 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); } if (!pci_set_dma_mask(pdev, RECORD_ADDRESS_BITS)) { card->record_enabled = 1; } else { 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); }