From: Rolf Eike Beer Date: Fri, 29 Sep 2006 09:00:46 +0000 (-0700) Subject: [PATCH] Return better error codes if drivers/char/raw.c module init fails X-Git-Tag: v2.6.19-rc1~729 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e26a423e78c1bb1ebd29c49d4ae4ccbbacd861b;p=pandora-kernel.git [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 Cc: Greg KH Signed-off-by: Andrew Morton [ Fixed to not unregister twice on error ] Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed