Skip to contentSkip to conversation

printk : arch/i386/mm/ioremap.c

PATCH New [email protected] 1 participant 1 message May 28, 2005 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 printk : arch/i386/mm/ioremap.c

printk() calls should include appropriate KERN_* constant.

---
 ioremap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/i386/mm/ioremap.c +1 -1
Index: quilt/arch/i386/mm/ioremap.c
===================================================================
@@ -241,7 +241,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;
 	}
 

--
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>