[openib-general] [PATCH][13/26] kDAPL: Remove typedef DAT_RSP_PARAM

Tom Duffy Tom.Duffy at Sun.COM
Mon May 9 14:39:42 PDT 2005


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

diff -Nur -X /home/tduffy/dontdiff linux-kernel12/dat/dat.h linux-kernel13/dat/dat.h
--- linux-kernel12/dat/dat.h	2005-05-09 12:50:54.204001000 -0700
+++ linux-kernel13/dat/dat.h	2005-05-09 12:54:15.334001000 -0700
@@ -704,12 +704,12 @@
 
 /* RSP Parameters */
 
-typedef struct dat_rsp_param {
+struct dat_rsp_param {
 	DAT_IA_HANDLE ia_handle;
 	DAT_CONN_QUAL conn_qual;
 	DAT_EVD_HANDLE evd_handle;
 	DAT_EP_HANDLE ep_handle;
-} DAT_RSP_PARAM;
+};
 
 /* Connection Request Parameters.
  *
@@ -1233,7 +1233,8 @@
         DAT_IA_HANDLE, DAT_CONN_QUAL, DAT_EP_HANDLE, DAT_EVD_HANDLE, 
         DAT_RSP_HANDLE *);
 
-typedef DAT_RETURN (*DAT_RSP_QUERY_FUNC) (DAT_RSP_HANDLE, DAT_RSP_PARAM *);
+typedef DAT_RETURN (*DAT_RSP_QUERY_FUNC) (DAT_RSP_HANDLE,
+					  struct dat_rsp_param *);
 
 typedef DAT_RETURN (*DAT_RSP_FREE_FUNC) (DAT_RSP_HANDLE);
 
@@ -1753,7 +1754,8 @@
                 rsp_create_func, ia, conn_qual, ep, evd, rsp);
 }
 
-static inline DAT_RETURN dat_rsp_query(DAT_RSP_HANDLE rsp, DAT_RSP_PARAM * param)
+static inline DAT_RETURN dat_rsp_query(DAT_RSP_HANDLE rsp,
+				       struct dat_rsp_param *param)
 {
         return DAT_CALL_PROVIDER_FUNC(rsp_query_func, rsp, param);
 }
diff -Nur -X /home/tduffy/dontdiff linux-kernel12/dat-provider/dapl.h linux-kernel13/dat-provider/dapl.h
--- linux-kernel12/dat-provider/dapl.h	2005-05-09 12:49:51.381002000 -0700
+++ linux-kernel13/dat-provider/dapl.h	2005-05-09 12:53:48.318003000 -0700
@@ -712,7 +712,7 @@
 				  DAT_EVD_HANDLE,	/* evd_handle */
 				  DAT_RSP_HANDLE *);	/* rsp_handle */
 
-extern DAT_RETURN dapl_rsp_query(DAT_RSP_HANDLE, DAT_RSP_PARAM *);
+extern DAT_RETURN dapl_rsp_query(DAT_RSP_HANDLE, struct dat_rsp_param *);
 
 extern DAT_RETURN dapl_rsp_free(DAT_RSP_HANDLE);	/* rsp_handle */
 
diff -Nur -X /home/tduffy/dontdiff linux-kernel12/dat-provider/dapl_rsp_query.c linux-kernel13/dat-provider/dapl_rsp_query.c
--- linux-kernel12/dat-provider/dapl_rsp_query.c	2005-05-04 08:19:32.860993000 -0700
+++ linux-kernel13/dat-provider/dapl_rsp_query.c	2005-05-09 12:54:54.612015000 -0700
@@ -38,7 +38,8 @@
 
 #include "dapl.h"
 
-DAT_RETURN dapl_rsp_query(DAT_RSP_HANDLE rsp_handle, DAT_RSP_PARAM * rsp_param)
+DAT_RETURN dapl_rsp_query(DAT_RSP_HANDLE rsp_handle,
+			  struct dat_rsp_param *rsp_param)
 {
 	DAPL_SP *sp_ptr;
 	DAT_RETURN status;
diff -Nur -X /home/tduffy/dontdiff linux-kernel12/test/dapltest/test/dapl_fft_queryinfo.c linux-kernel13/test/dapltest/test/dapl_fft_queryinfo.c
--- linux-kernel12/test/dapltest/test/dapl_fft_queryinfo.c	2005-05-09 12:51:27.837003000 -0700
+++ linux-kernel13/test/dapltest/test/dapl_fft_queryinfo.c	2005-05-09 12:55:09.772004000 -0700
@@ -62,7 +62,7 @@
     DAT_PSP_HANDLE  psp_handle;
     struct dat_psp_param psp_param;
     DAT_RSP_HANDLE  rsp_handle;
-    DAT_RSP_PARAM  rsp_param;
+    struct dat_rsp_param rsp_param;
     DAT_PZ_HANDLE pz_handle;
     struct dat_pz_param pz_param;
     DAT_LMR_HANDLE lmr_handle;




More information about the general mailing list