From: Joe Perches <joe@perches.com>
To: Fabian Frederick <fabf@skynet.be>
Cc: Tejun Heo <tj@kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
akpm <akpm@linux-foundation.org>
Subject: Re: [PATCH 1/1] kernel/workqueue.c: pr_warning/pr_warn & printk/pr_info
Date: Mon, 12 May 2014 11:29:17 -0700 [thread overview]
Message-ID: <1399919357.9240.31.camel@joe-AO725> (raw)
In-Reply-To: <20140512202657.43eca18f8add0ba43a4564ab@skynet.be>
On Mon, 2014-05-12 at 20:26 +0200, Fabian Frederick wrote:
> On Mon, 12 May 2014 11:21:28 -0700 Joe Perches <joe@perches.com> wrote:
> > On Mon, 2014-05-12 at 19:56 +0200, Fabian Frederick wrote:
[]
> > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c
[]
> > > @@ -4548,7 +4548,7 @@ void print_worker_info(const char *log_lvl, struct task_struct *task)
> > > probe_kernel_read(desc, worker->desc, sizeof(desc) - 1);
> > >
> > > if (fn || name[0] || desc[0]) {
> > > - printk("%sWorkqueue: %s %pf", log_lvl, name, fn);
> > > + pr_info("%sWorkqueue: %s %pf", log_lvl, name, fn);
> >
> > Not correct.
> >
> > log_lvl already emits the appropriate level
> > and this overrides it with KERN_INFO.
> >
> > The output will now be incorrect emitting
> > at KERN_INFO followed by an SOH and the
> > desired log level.
>
> Such printk can't be converted to pr_ ?
Correct.
prev parent reply other threads:[~2014-05-12 18:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 17:56 Fabian Frederick
2014-05-12 18:01 ` Tejun Heo
2014-05-12 18:21 ` Joe Perches
2014-05-12 18:26 ` Fabian Frederick
2014-05-12 18:29 ` Joe Perches [this message]
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=1399919357.9240.31.camel@joe-AO725 \
--to=joe@perches.com \
--cc=akpm@linux-foundation.org \
--cc=fabf@skynet.be \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®