From: Coywolf Qi Hunt <coywolf@gmail.com>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: David Howells <dhowells@redhat.com>, LKML <linux-kernel@vger.kernel.org>
Subject: printk loglevel policy?
Date: Fri, 31 Dec 2004 10:20:25 +0800 [thread overview]
Message-ID: <2cd57c9004123018203b7e38ef@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0412310259230.4725@dragon.hygekrogen.localhost>
Hi all,
Recently, I've seen a lot of add loglevel to printk patches.
grep 'printk("' -r | wc shows me 2433. There are probably 2433 printk
need to patch, is it? What's this printk loglevel policy, all these
printk calls need loglevel adjusted? The default loglevel is
KERN_WARNING.
--coywolf
On Fri, 31 Dec 2004 03:02:57 +0100 (CET), Jesper Juhl <juhl-lkml@dif.dk> wrote:
>
> Hi,
>
> below is a small patch that adds loglevel to a printk in
> fs/afs/cmservice.c
>
> If considered OK please consider applying.
>
> Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
>
> diff -up linux-2.6.10-bk2-orig/fs/afs/cmservice.c linux-2.6.10-bk2/fs/afs/cmservice.c
> --- linux-2.6.10-bk2-orig/fs/afs/cmservice.c 2004-12-24 22:34:44.000000000 +0100
> +++ linux-2.6.10-bk2/fs/afs/cmservice.c 2004-12-31 02:59:13.000000000 +0100
> @@ -118,7 +118,7 @@ static int kafscmd(void *arg)
> _SRXAFSCM_xxxx_t func;
> int die;
>
> - printk("kAFS: Started kafscmd %d\n", current->pid);
> + printk(KERN_INFO "kAFS: Started kafscmd %d\n", current->pid);
>
> daemonize("kafscmd");
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/
next prev parent reply other threads:[~2004-12-31 2:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-31 2:02 [patch] add loglevel to printk in fs/afs/cmservice.c Jesper Juhl
2004-12-31 2:20 ` Coywolf Qi Hunt [this message]
2004-12-31 4:07 ` printk loglevel policy? Jim Nelson
2004-12-31 4:34 ` Jesper Juhl
2005-01-02 14:36 ` Alan Cox
2005-01-02 19:01 ` Jim Nelson
2005-01-02 21:41 ` Randy.Dunlap
2005-01-03 3:17 ` Keith Owens
2005-01-03 3:52 ` Randy.Dunlap
2005-01-03 4:44 ` Jim Nelson
2005-01-04 10:46 ` David Howells
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=2cd57c9004123018203b7e38ef@mail.gmail.com \
--to=coywolf@gmail.com \
--cc=dhowells@redhat.com \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.