[openib-general] [PATCH] use module_param() instead of MODULE_PARM() in SDP
Libor Michalek
libor at topspin.com
Fri Feb 11 16:48:49 PST 2005
On Thu, Feb 10, 2005 at 08:15:22PM -0800, Tom Duffy wrote:
> use module_param() instead of MODULE_PARM()
Thanks, I've applied and committed.
-Libor
> 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)
> @@ -46,16 +46,16 @@ MODULE_AUTHOR("Libor Michalek");
> MODULE_DESCRIPTION("InfiniBand SDP module");
> MODULE_LICENSE("Dual BSD/GPL");
>
> -MODULE_PARM(_proto_family, "i");
> -MODULE_PARM(_buff_min, "i");
> -MODULE_PARM(_buff_max, "i");
> -MODULE_PARM(_conn_size, "i");
> -MODULE_PARM(_recv_post_max, "i");
> -MODULE_PARM(_recv_buff_max, "i");
> -MODULE_PARM(_send_post_max, "i");
> -MODULE_PARM(_send_buff_max, "i");
> -MODULE_PARM(_send_usig_max, "i");
> -MODULE_PARM(debug_level, "i");
> +module_param(_proto_family, int, 0);
> +module_param(_buff_min, int, 0);
> +module_param(_buff_max, int, 0);
> +module_param(_conn_size, int, 0);
> +module_param(_recv_post_max, int, 0);
> +module_param(_recv_buff_max, int, 0);
> +module_param(_send_post_max, int, 0);
> +module_param(_send_buff_max, int, 0);
> +module_param(_send_usig_max, int, 0);
> +module_param(debug_level, int, 0);
>
> /*
> * socket structure relevant fields:
>
> _______________________________________________
> 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