]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] uml: Clean up prink calls
authorChristophe Lucas <clucas@rotomalug.org>
Fri, 29 Jul 2005 04:16:12 +0000 (21:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 04:46:05 +0000 (21:46 -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: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/mconsole_kern.c
arch/um/kernel/exitcode.c
arch/um/kernel/process_kern.c

index 404de41a4f677cf664b740ff38a3a2e327e42a4e..c190c24141972399fa2ec328181f002939c60d36 100644 (file)
@@ -557,7 +557,7 @@ static int create_proc_mconsole(void)
 
        ent = create_proc_entry("mconsole", S_IFREG | 0200, NULL);
        if(ent == NULL){
-               printk("create_proc_mconsole : create_proc_entry failed\n");
+               printk(KERN_INFO "create_proc_mconsole : create_proc_entry failed\n");
                return(0);
        }
 
index 0ea87f24b36fdefe558d8486baf41f4849ad3661..d21ebad666b4246f45c99d2667dbcc82702b6f6c 100644 (file)
@@ -48,7 +48,7 @@ static int make_proc_exitcode(void)
 
        ent = create_proc_entry("exitcode", 0600, &proc_root);
        if(ent == NULL){
-               printk("make_proc_exitcode : Failed to register "
+               printk(KERN_WARNING "make_proc_exitcode : Failed to register "
                       "/proc/exitcode\n");
                return(0);
        }
index d4036ed680bcd408e82f1afd6871d77915792939..c23d8a08d0ff5403df391fbdd04ca86baa89a391 100644 (file)
@@ -412,7 +412,7 @@ int __init make_proc_sysemu(void)
 
        if (ent == NULL)
        {
-               printk("Failed to register /proc/sysemu\n");
+               printk(KERN_WARNING "Failed to register /proc/sysemu\n");
                return(0);
        }