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

Libor Michalek libor at topspin.com
Fri Feb 11 16:49:36 PST 2005


On Thu, Feb 10, 2005 at 07:57:43PM -0800, Tom Duffy wrote:
> Signed-off-by: Tom Duffy <tduffy at sun.com>

Thanks, applied and committed.

-Libor

> 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.");
>  	/*
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list