Skip to content
Snippets Groups Projects
Commit 3e26a423 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Linus Torvalds
Browse files

[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: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
[ Fixed to not unregister twice on error ]
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 416bc512
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment