From: domen@coderock.org
To: jdike@karaya.com
Cc: user-mode-linux-devel@lists.sourceforge.net,
Christophe Lucas <clucas@rotomalug.org>,
domen@coderock.org
Subject: [uml-devel] [patch 1/1] printk : arch/um/
Date: Fri, 15 Jul 2005 00:20:08 +0200 [thread overview]
Message-ID: <20050714222007.568784000@homer> (raw)
[-- Attachment #1: printk-arch_um_ --]
[-- Type: text/plain, Size: 2293 bytes --]
From: Christophe Lucas <clucas@rotomalug.org>
printk() calls should include appropriate KERN_* constant.
Signed-off-by: Christophe Lucas <clucas@rotomalug.org>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
drivers/mconsole_kern.c | 2 +-
kernel/exitcode.c | 2 +-
kernel/process_kern.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: quilt/arch/um/drivers/mconsole_kern.c
===================================================================
--- quilt.orig/arch/um/drivers/mconsole_kern.c
+++ 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);
}
Index: quilt/arch/um/kernel/exitcode.c
===================================================================
--- quilt.orig/arch/um/kernel/exitcode.c
+++ 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);
}
Index: quilt/arch/um/kernel/process_kern.c
===================================================================
--- quilt.orig/arch/um/kernel/process_kern.c
+++ 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2005-07-14 22:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-14 22:20 domen [this message]
2005-07-15 20:49 ` [uml-devel] Re: [patch 1/1] printk : arch/um/ Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050714222007.568784000@homer \
--to=domen@coderock.org \
--cc=clucas@rotomalug.org \
--cc=jdike@karaya.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox