Skip to contentSkip to conversation

printk : arch/um/

PATCH Applied [email protected] 2 participants 2 messages Jul 14, 2005 – Jul 15, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 printk : arch/um/

From: Christophe Lucas <[email protected]>

printk() calls should include appropriate KERN_* constant.

---
 drivers/mconsole_kern.c |    2 +-
 kernel/exitcode.c       |    2 +-
 kernel/process_kern.c   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/um/drivers/mconsole_kern.c +1 -1
Index: quilt/arch/um/drivers/mconsole_kern.c
===================================================================
@@ -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);
 	}
 
arch/um/kernel/exitcode.c +1 -1
Index: quilt/arch/um/kernel/exitcode.c
===================================================================
@@ -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);
 	}
arch/um/kernel/process_kern.c +1 -1
Index: quilt/arch/um/kernel/process_kern.c
===================================================================
@@ -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);
 	}
 

--

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Applied
#1 lore raw
Quoted 1 line · On Fri, Jul 15, 2005 at 12:20:08AM +0200, [email protected] wrote:

printk() calls should include appropriate KERN_* constant.

Queued, thanks. It may wait till after KS/OLS to get merged.

Jeff

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel