[ofa-general] [PATCH] opensm/ib_types.h: Update ib_mad_is_response description

Hal Rosenstock hnrose at comcast.net
Sun Aug 2 08:16:12 PDT 2009


Also, fix typo in ib_smp_init_new TODO

Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/include/iba/ib_types.h b/opensm/include/iba/ib_types.h
index beb7492..fe3f051 100644
--- a/opensm/include/iba/ib_types.h
+++ b/opensm/include/iba/ib_types.h
@@ -3779,7 +3779,8 @@ ib_mad_init_response(IN const ib_mad_t * const p_req_mad,
 *	ib_mad_is_response
 *
 * DESCRIPTION
-*	Returns TRUE if the MAD is a response ('R' bit set),
+*	Returns TRUE if the MAD is a response ('R' bit set)
+*	or if the MAD is a TRAP REPRESS,
 *	FALSE otherwise.
 *
 * SYNOPSIS
@@ -4091,7 +4092,7 @@ static inline boolean_t OSM_API ib_smp_is_d(IN const ib_smp_t * const p_smp)
 *
 * TODO
 *	This is too big for inlining, but leave it here for now
-*	since there is not yet another convient spot.
+*	since there is not yet another convenient spot.
 *
 * SYNOPSIS
 */



More information about the general mailing list