From: Steven Rostedt Date: Wed, 1 May 2013 17:35:51 +0000 (-0400) Subject: init: Do not warn on non-zero initcall return X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf5d770bd234a1e66322dd79c4ae5b397cd2b9c1;p=pandora-kernel.git init: Do not warn on non-zero initcall return Commit f91eb62f71b3 ("init: scream bloody murder if interrupts are enabled too early") added three new warnings. The first two seemed reasonable, but the third included a warning when an initcall returned non-zero. Although, the third WARN() does include an imbalanced preempt disabled, or irqs disable, it shouldn't warn if it only had an initcall that just returns non-zero. In fact, according to Linus, it shouldn't print at all. As it only prints with initcall_debug set, and that already shows enough information to fix things. Link: http://lkml.kernel.org/r/CA+55aFzaBC5SFi7=F2mfm+KWY5qTsBmOqgbbs8E+LUS8JK-sBg@mail.gmail.com Suggested-by: Linus Torvalds Reported-by: Konrad Rzeszutek Wilk Signed-off-by: Steven Rostedt Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed