[openib-general] [PATCH] ib_mad.h: Fix some typos

Hal Rosenstock halr at voltaire.com
Wed Aug 4 21:31:40 PDT 2004


Fix some typos

Index: ib_mad.h
===================================================================
--- ib_mad.h	(revision 587)
+++ ib_mad.h	(working copy)
@@ -28,6 +28,9 @@
 
 #include "ib_verbs.h"
 
+struct ib_mad_reg;
+struct ib_mad_msg;
+
 typedef void (*ib_mad_send_handler)(struct ib_mad_reg *mad_reg,
 				    struct ib_mad_msg *msg);
 typedef void (*ib_mad_recv_handler)(struct ib_mad_reg *mad_reg,
@@ -54,7 +57,7 @@
 	void			*context;
 	int			timeout_ms;
 
-	enum ib_wc_status_t	status;
+	enum ib_wc_status	status;
 
 	u32			remote_qp;
 	u32			remote_q_key;
@@ -77,8 +80,8 @@
  */
 struct ib_mad_reg_req {
 	u8	mgmt_class;
-	u8	mgmt_class_version,
-	DECLARE_BITMAP(method_mask, 128),
+	u8	mgmt_class_version;
+	DECLARE_BITMAP(method_mask, 128);
 };
 
 /**






More information about the general mailing list