Commit acc8a1c0 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

arch/unicore32/mm/ioremap.c: convert printk/warn_on to warn()

Coalesce formats.

[akpm@linux-foundation.org: undo crazy long line]
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 22010836
...@@ -143,13 +143,11 @@ void __iomem *__uc32_ioremap_pfn_caller(unsigned long pfn, ...@@ -143,13 +143,11 @@ void __iomem *__uc32_ioremap_pfn_caller(unsigned long pfn,
/* /*
* Don't allow RAM to be mapped * Don't allow RAM to be mapped
*/ */
if (pfn_valid(pfn)) { if (pfn_valid(pfn))
printk(KERN_WARNING "BUG: Your driver calls ioremap() on\n" WARN(1, "BUG: Your driver calls ioremap() on\n"
"system memory. This leads to architecturally\n" "system memory. This leads to architecturally\n"
"unpredictable behaviour, and ioremap() will fail in\n" "unpredictable behaviour, and ioremap() will fail in\n"
"the next kernel release. Please fix your driver.\n"); "the next kernel release. Please fix your driver.\n");
WARN_ON(1);
}
type = get_mem_type(mtype); type = get_mem_type(mtype);
if (!type) if (!type)
......
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