diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-25 03:07:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:53 -0800 |
commit | c1cda48af8b330a23206eceef3bd030b53c979cd (patch) | |
tree | e39240fd743e22804d29ab0f38d5a0d5e64457b7 /fs/reiserfs/file.c | |
parent | cd02b966bfcad12d1b2e265dc8dbc331d4c184c4 (diff) | |
download | talos-obmc-linux-c1cda48af8b330a23206eceef3bd030b53c979cd.tar.gz talos-obmc-linux-c1cda48af8b330a23206eceef3bd030b53c979cd.zip |
[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>
Diffstat (limited to 'fs/reiserfs/file.c')
0 files changed, 0 insertions, 0 deletions