OpenSM: Reorder assert in __osm_sm_mad_ctrl_send_err_cb in
osm_sm_mad_ctrl.c
Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>
Index: osm_sm_mad_ctrl.c
===================================================================
--- osm_sm_mad_ctrl.c (revision 4115)
+++ osm_sm_mad_ctrl.c (working copy)
@@ -809,13 +809,13 @@ __osm_sm_mad_ctrl_send_err_cb(
OSM_LOG_ENTER( p_ctrl->p_log, __osm_sm_mad_ctrl_send_err_cb );
+ CL_ASSERT( p_madw );
+
osm_log( p_ctrl->p_log, OSM_LOG_ERROR,
"__osm_sm_mad_ctrl_send_err_cb: ERR 3113: "
"MAD completed in error (%s).\n",
ib_get_err_str( p_madw->status ) );
- CL_ASSERT( p_madw );
-
/*
If this was a SubnSet MAD, then this error might indicate a problem
in configuring the subnet. In this case - need to mark that there was
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general