[openib-general] [PATCH][15/19] kDAPL: Remove typedefs DAT_IA_ASYNC_ERROR_REASON DAT_EP_ASYNC_ERROR_REASON DAT_EVD_ASYNC_ERROR_REASON DAT_SRQ_ASYNC_ERROR_REASON DAT_LMR_ASYNC_ERROR_REASON DAT_RMR_ASYNC_ERROR_REASON & DAT_PZ_ASYNC_ERROR_REASON

Tom Duffy Tom.Duffy at Sun.COM
Sun May 15 11:27:19 PDT 2005


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

diff -Nurp -X /home/tduffy/dontdiff linux-kernel14/dat/dat.h linux-kernel15/dat/dat.h
--- linux-kernel14/dat/dat.h	2005-05-13 14:50:25.254001000 -0700
+++ linux-kernel15/dat/dat.h	2005-05-13 15:34:14.306009000 -0700
@@ -828,39 +828,39 @@ struct dat_asynch_error_event_data {
 };
 
 /* The reason is object type specific and its values are defined below. */
-typedef enum ia_async_error_reason {
+enum ia_async_error_reason {
 	DAT_IA_CATASTROPHIC_ERROR,
 	DAT_IA_OTHER_ERROR
-} DAT_IA_ASYNC_ERROR_REASON;
+};
 
-typedef enum ep_async_error_reason {
+enum ep_async_error_reason {
 	DAT_EP_TRANSFER_TO_ERROR,
 	DAT_EP_OTHER_ERROR,
 	DAT_SRQ_SOFT_HIGH_WATERMARK_EVENT
-} DAT_EP_ASYNC_ERROR_REASON;
+};
 
-typedef enum evd_async_error_reason {
+enum evd_async_error_reason {
 	DAT_EVD_OVERFLOW_ERROR,
 	DAT_EVD_OTHER_ERROR
-} DAT_EVD_ASYNC_ERROR_REASON;
+};
 
-typedef enum srq_async_error_reason {
+enum srq_async_error_reason {
 	DAT_SRQ_TRANSFER_TO_ERROR,
 	DAT_SRQ_OTHER_ERROR,
 	DAT_SRQ_LOW_WATERMARK_EVENT
-} DAT_SRQ_ASYNC_ERROR_REASON;
+};
 
-typedef enum lmr_async_error_reason {
+enum lmr_async_error_reason {
 	DAT_LMR_OTHER_ERROR
-} DAT_LMR_ASYNC_ERROR_REASON;
+};
 
-typedef enum rmr_async_error_reason {
+enum rmr_async_error_reason {
 	DAT_RMR_OTHER_ERROR
-} DAT_RMR_ASYNC_ERROR_REASON;
+};
 
-typedef enum pz_async_error_reason {
+enum pz_async_error_reason {
 	DAT_PZ_OTHER_ERROR
-} DAT_PZ_ASYNC_ERROR_REASON;
+};
 
 /* Software event data */
 struct dat_software_event_data {




More information about the general mailing list