[openib-general] [PATCH] use module_param() instead of MODULE_PARM() in SDP
Tom Duffy
tduffy at sun.com
Thu Feb 10 20:15:22 PST 2005
use module_param() instead of MODULE_PARM()
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:
More information about the general
mailing list