[PATCH] printk: arch/i386/mm/ioremap.c
Christophe Lucas [Sat, 25 Jun 2005 21:59:24 +0000 (14:59 -0700)]
printk() calls should include appropriate KERN_* constant.

Signed-off-by: Christophe Lucas <clucas@rotomalug.org>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

arch/i386/mm/ioremap.c

index d393eef..6b25afc 100644 (file)
@@ -243,7 +243,7 @@ void iounmap(volatile void __iomem *addr)
        write_lock(&vmlist_lock);
        p = __remove_vm_area((void *) (PAGE_MASK & (unsigned long __force) addr));
        if (!p) { 
-               printk("iounmap: bad address %p\n", addr);
+               printk(KERN_WARNING "iounmap: bad address %p\n", addr);
                goto out_unlock;
        }