[openib-general] [PATCH] Fix init and exit functions in SDP

Tom Duffy tduffy at sun.com
Thu Feb 10 19:57:43 PST 2005


Signed-off-by: Tom Duffy <tduffy at sun.com>

Index: drivers/infiniband/ulp/sdp/sdp_inet.c
===================================================================
--- drivers/infiniband/ulp/sdp/sdp_inet.c	(revision 1766)
+++ drivers/infiniband/ulp/sdp/sdp_inet.c	(working copy)
@@ -1707,7 +1707,7 @@ static struct net_proto_family _sdp_prot
 /* --------------------------------------------------------------------- */
 /* ========================================================================= */
 /*..sdp_init -- initialize the sdp host module */
-int __init sdp_init(void)
+static int __init sdp_init(void)
 {
 	int result = 0;
 
@@ -1812,7 +1812,7 @@ error_proc:
 
 /* ========================================================================= */
 /*..sdp_exit -- cleanup the sdp host module */
-void sdp_exit(void)
+static void __exit sdp_exit(void)
 {
 	sdp_dbg_init("INIT: SDP module unload.");
 	/*




More information about the general mailing list