From: Christophe Lucas <[EMAIL PROTECTED]> printk() calls should include appropriate KERN_* constant.
Signed-off-by: Christophe Lucas <[EMAIL PROTECTED]> Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.12/arch/um/drivers/mconsole_kern.c =================================================================== --- linux-2.6.12.orig/arch/um/drivers/mconsole_kern.c 2005-07-27 16:39:27.000000000 -0400 +++ linux-2.6.12/arch/um/drivers/mconsole_kern.c 2005-07-27 16:39:53.000000000 -0400 @@ -557,7 +557,7 @@ 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: linux-2.6.12/arch/um/kernel/exitcode.c =================================================================== --- linux-2.6.12.orig/arch/um/kernel/exitcode.c 2005-07-27 16:39:26.000000000 -0400 +++ linux-2.6.12/arch/um/kernel/exitcode.c 2005-07-27 16:39:53.000000000 -0400 @@ -48,7 +48,7 @@ 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: linux-2.6.12/arch/um/kernel/process_kern.c =================================================================== --- linux-2.6.12.orig/arch/um/kernel/process_kern.c 2005-07-27 16:39:29.000000000 -0400 +++ linux-2.6.12/arch/um/kernel/process_kern.c 2005-07-27 16:39:53.000000000 -0400 @@ -412,7 +412,7 @@ if (ent == NULL) { - printk("Failed to register /proc/sysemu\n"); + printk(KERN_WARNING "Failed to register /proc/sysemu\n"); return(0); } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel