Andrew Morton c1cda48af8 [PATCH] initcall failure reporting
We presently ignore the return values from initcalls.  But that can carry
useful debugging information.  So print it out if it's non-zero.

It turns out the -ENODEV happens quite a lot, due to built-in drivers which
have no hardware to drive.  So suppress that unless initcall_debug was
specified.

Also make the warning message more friendly by printing the name of the
initcall function.

Also drop the KERN_DEBUG from the initcall_debug message.  If we specified
inticall_debug then we obviously want to see the messages.

Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-25 08:22:53 -08:00
..
2005-04-16 15:20:36 -07:00
2006-01-06 08:33:53 -08:00
2005-07-12 16:00:58 -07:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:53 -08:00
2005-07-14 20:18:07 +00:00
2005-04-16 15:20:36 -07:00