[PATCH] printk: arch/i386/mm/ioremap.c
authorChristophe Lucas <clucas@rotomalug.org>
Sat, 25 Jun 2005 21:59:24 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:25:08 +0000 (16:25 -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 d393eefc70524e8464a93845c99ddeac03ef1b0b..6b25afc933b605b0f515372d900cdc272ffc2e71 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;
        }