Skip to content

Commit 30f417c

Browse files
Christophe LucasLinus Torvalds
authored andcommitted
[PATCH] uml: Clean up prink calls
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>
1 parent 201134c commit 30f417c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/um/drivers/mconsole_kern.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ static int create_proc_mconsole(void)
557557

558558
ent = create_proc_entry("mconsole", S_IFREG | 0200, NULL);
559559
if(ent == NULL){
560-
printk("create_proc_mconsole : create_proc_entry failed\n");
560+
printk(KERN_INFO "create_proc_mconsole : create_proc_entry failed\n");
561561
return(0);
562562
}
563563

‎arch/um/kernel/exitcode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static int make_proc_exitcode(void)
4848

4949
ent = create_proc_entry("exitcode", 0600, &proc_root);
5050
if(ent == NULL){
51-
printk("make_proc_exitcode : Failed to register "
51+
printk(KERN_WARNING "make_proc_exitcode : Failed to register "
5252
"/proc/exitcode\n");
5353
return(0);
5454
}

‎arch/um/kernel/process_kern.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ int __init make_proc_sysemu(void)
412412

413413
if (ent == NULL)
414414
{
415-
printk("Failed to register /proc/sysemu\n");
415+
printk(KERN_WARNING "Failed to register /proc/sysemu\n");
416416
return(0);
417417
}
418418

0 commit comments

Comments
 (0)