diff options
author | Rolf Eike Beer <eike-kernel@sf-tec.de> | 2006-09-29 11:00:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:16 +0200 |
commit | 3e26a423e78c1bb1ebd29c49d4ae4ccbbacd861b (patch) | |
tree | 9ef489f3ec27e1d4325ac2a2ed9f0f0031e63ef7 /kernel/kmod.c | |
parent | [PATCH] Use decimal for PTRACE_ATTACH and PTRACE_DETACH. (diff) | |
download | linux-3e26a423e78c1bb1ebd29c49d4ae4ccbbacd861b.tar.xz linux-3e26a423e78c1bb1ebd29c49d4ae4ccbbacd861b.zip |
[PATCH] Return better error codes if drivers/char/raw.c module init fails
Currently this module just returns 1 if anything on module init fails. Store
the error code of the different function calls and return their error on
problems.
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
[ Fixed to not unregister twice on error ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions