From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: ard@telegraafnet.nl, akpm@linux-foundation.org, hpa@zytor.com,
len.brown@intel.com, linux-kernel@vger.kernel.org,
mchehab@redhat.com, rjw@sisk.pl
Subject: Re: initcall ffh_cstate_init+0x0/0x2a returned with error code -1 throws WARN
Date: Wed, 1 May 2013 10:58:10 -0400 [thread overview]
Message-ID: <20130501145810.GC6614@phenom.dumpdata.com> (raw)
In-Reply-To: <1367417381.30667.78.camel@gandalf.local.home>
On Wed, May 01, 2013 at 10:09:41AM -0400, Steven Rostedt wrote:
> On Wed, 2013-05-01 at 09:48 -0400, Konrad Rzeszutek Wilk wrote:
> > Now with the git commit f91eb62f71b31e69e405663ff8d047bc3b9f7525
> > (init: scream bloody murder if interrupts are enabled too early)
>
> Perhaps I got a little too aggressive with that patch. The warnings look
> to be caused by:
>
> @@ -702,9 +697,7 @@ int __init_or_module do_one_initcall(initcall_t fn)
> strlcat(msgbuf, "disabled interrupts ", sizeof(msgbuf));
> local_irq_enable();
> }
> - if (msgbuf[0]) {
> - printk("initcall %pF returned with %s\n", fn, msgbuf);
> - }
> + WARN(msgbuf[0], "initcall %pF returned with %s\n", fn, msgbuf);
>
> return ret;
> }
>
> I'll just revert that part of the patch, and send that in.
Thank you!
>
> Thanks,
>
> -- Steve
>
>
>
next prev parent reply other threads:[~2013-05-01 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-01 13:48 Konrad Rzeszutek Wilk
2013-05-01 14:09 ` Steven Rostedt
2013-05-01 14:58 ` Konrad Rzeszutek Wilk [this message]
2013-05-01 15:01 ` Steven Rostedt
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=20130501145810.GC6614@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=ard@telegraafnet.nl \
--cc=hpa@zytor.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=rjw@sisk.pl \
--cc=rostedt@goodmis.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®