Commit:     fadfc8e930dcaf502b49a0a0170ba8ebe9a34c49
Parent:     3e1fbd12c958591695f89b11f9c6ec08d002e358
Author:     Akinobu Mita <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 22 01:10:09 2006 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Dec 22 08:55:49 2006 -0800

    [PATCH] gss_spkm3: fix error handling in module init
    Return error and prevent from loading module when gss_mech_register()
    Cc: Andy Adamson <[EMAIL PROTECTED]>
    Cc: J. Bruce Fields <[EMAIL PROTECTED]>
    Acked-by: Trond Myklebust <[EMAIL PROTECTED]>
    Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 net/sunrpc/auth_gss/gss_spkm3_mech.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sunrpc/auth_gss/gss_spkm3_mech.c 
index 4146507..8ef3f1c 100644
--- a/net/sunrpc/auth_gss/gss_spkm3_mech.c
+++ b/net/sunrpc/auth_gss/gss_spkm3_mech.c
@@ -228,7 +228,7 @@ static int __init init_spkm3_module(void)
        status = gss_mech_register(&gss_spkm3_mech);
        if (status)
                printk("Failed to register spkm3 gss mechanism!\n");
-       return 0;
+       return status;
 static void __exit cleanup_spkm3_module(void)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to