[openib-general] [PATCH][18/26] kDAPL: Remove typedef DAT_CONNECTION_EVENT_DATA

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


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

diff -Nur -X /home/tduffy/dontdiff linux-kernel17/dat/dat.h linux-kernel18/dat/dat.h
--- linux-kernel17/dat/dat.h	2005-05-09 13:23:46.473960000 -0700
+++ linux-kernel18/dat/dat.h	2005-05-09 13:26:21.135961000 -0700
@@ -820,11 +820,11 @@
 };
 
     /* Connection event data */
-typedef struct dat_connection_event_data {
+struct dat_connection_event_data {
 	DAT_EP_HANDLE ep_handle;
 	DAT_COUNT private_data_size;
 	DAT_PVOID private_data;
-} DAT_CONNECTION_EVENT_DATA;
+};
 
 /* Async Error event data */
 
@@ -907,7 +907,7 @@
 	struct dat_dto_completion_event_data dto_completion_event_data;
 	struct dat_rmr_bind_completion_event_data rmr_completion_event_data;
 	struct dat_cr_arrival_event_data cr_arrival_event_data;
-	DAT_CONNECTION_EVENT_DATA connect_event_data;
+	struct dat_connection_event_data connect_event_data;
 	DAT_ASYNCH_ERROR_EVENT_DATA asynch_error_event_data;
 	DAT_SOFTWARE_EVENT_DATA software_event_data;
 } DAT_EVENT_DATA;
diff -Nur -X /home/tduffy/dontdiff linux-kernel17/test/dapltest/test/dapl_test_util.c linux-kernel18/test/dapltest/test/dapl_test_util.c
--- linux-kernel17/test/dapltest/test/dapl_test_util.c	2005-05-09 13:23:19.258962000 -0700
+++ linux-kernel18/test/dapltest/test/dapl_test_util.c	2005-05-09 13:25:54.690963000 -0700
@@ -340,7 +340,7 @@
 	if (event.event_number == DAT_CONNECTION_EVENT_ESTABLISHED)
 	{
 	    /*
-	     * Could return DAT_CONNECTION_EVENT_DATA and verify:
+	     * Could return struct dat_connection_event_data and verify:
 	     *      event.event_data.connect_event_data.ep_handle
 	     *      event.event_data.connect_event_data.private_data_size
 	     *      event.event_data.connect_event_data.private_data




More information about the general mailing list