[openib-general] [PATCH][11/26] kDAPL: Remove typedef DAT_PZ_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-kernel10/dat/dat.h linux-kernel11/dat/dat.h
--- linux-kernel10/dat/dat.h	2005-05-09 12:40:19.541004000 -0700
+++ linux-kernel11/dat/dat.h	2005-05-09 12:47:11.494001000 -0700
@@ -689,9 +689,9 @@
 
 /* PZ Parameters */
 
-typedef struct dat_pz_param {
+struct dat_pz_param {
 	DAT_IA_HANDLE ia_handle;
-} DAT_PZ_PARAM;
+};
 
 /* PSP Parameters */
 
@@ -1238,7 +1238,7 @@
 
 typedef DAT_RETURN (*DAT_PZ_CREATE_FUNC) (DAT_IA_HANDLE, DAT_PZ_HANDLE *);
 
-typedef DAT_RETURN (*DAT_PZ_QUERY_FUNC) (DAT_PZ_HANDLE, DAT_PZ_PARAM *);
+typedef DAT_RETURN (*DAT_PZ_QUERY_FUNC) (DAT_PZ_HANDLE, struct dat_pz_param *);
 
 typedef DAT_RETURN (*DAT_PZ_FREE_FUNC) (DAT_PZ_HANDLE);
 
@@ -1766,7 +1766,8 @@
         return DAT_CALL_PROVIDER_FUNC(pz_create_func, ia, pz);
 }
 
-static inline DAT_RETURN dat_pz_query(DAT_PZ_HANDLE pz, DAT_PZ_PARAM * param)
+static inline DAT_RETURN dat_pz_query(DAT_PZ_HANDLE pz,
+				      struct dat_pz_param *param)
 {
         return DAT_CALL_PROVIDER_FUNC(pz_query_func, pz, param);
 }
diff -Nur -X /home/tduffy/dontdiff linux-kernel10/dat-provider/dapl.h linux-kernel11/dat-provider/dapl.h
--- linux-kernel10/dat-provider/dapl.h	2005-05-09 12:39:52.484000000 -0700
+++ linux-kernel11/dat-provider/dapl.h	2005-05-09 12:46:47.275001000 -0700
@@ -722,7 +722,7 @@
 				 DAT_PZ_HANDLE *);	/* pz_handle */
 
 extern DAT_RETURN dapl_pz_query(DAT_PZ_HANDLE,	/* pz_handle */
-				DAT_PZ_PARAM *);	/* pz_args */
+				struct dat_pz_param *);	/* pz_args */
 
 extern DAT_RETURN dapl_pz_free(DAT_PZ_HANDLE);	/* pz_handle */
 
diff -Nur -X /home/tduffy/dontdiff linux-kernel10/dat-provider/dapl_pz_query.c linux-kernel11/dat-provider/dapl_pz_query.c
--- linux-kernel10/dat-provider/dapl_pz_query.c	2005-05-04 08:19:32.637978000 -0700
+++ linux-kernel11/dat-provider/dapl_pz_query.c	2005-05-09 12:47:42.795003000 -0700
@@ -36,7 +36,7 @@
 
 #include "dapl.h"
 
-DAT_RETURN dapl_pz_query(DAT_PZ_HANDLE pz_handle, DAT_PZ_PARAM * pz_param)
+DAT_RETURN dapl_pz_query(DAT_PZ_HANDLE pz_handle, struct dat_pz_param *pz_param)
 {
 	DAPL_PZ *pz;
 	DAT_RETURN status;
diff -Nur -X /home/tduffy/dontdiff linux-kernel10/test/dapltest/test/dapl_fft_queryinfo.c linux-kernel11/test/dapltest/test/dapl_fft_queryinfo.c
--- linux-kernel10/test/dapltest/test/dapl_fft_queryinfo.c	2005-05-09 12:29:25.437003000 -0700
+++ linux-kernel11/test/dapltest/test/dapl_fft_queryinfo.c	2005-05-09 12:47:58.187003000 -0700
@@ -64,7 +64,7 @@
     DAT_RSP_HANDLE  rsp_handle;
     DAT_RSP_PARAM  rsp_param;
     DAT_PZ_HANDLE pz_handle;
-    DAT_PZ_PARAM  pz_param;
+    struct dat_pz_param pz_param;
     DAT_LMR_HANDLE lmr_handle;
     DAT_LMR_PARAM lmr_param;
     DAT_LMR_CONTEXT lmr_context;




More information about the general mailing list