[openib-general] [PATCH][MINOR] OpenSM/osm_sm.c: In osm_sm_mcgrp_join, use CL_PLOCK_RELEASE macro
Hal Rosenstock
halr at voltaire.com
Fri Dec 1 07:18:40 PST 2006
OpenSM/osm_sm.c: In osm_sm_mcgrp_join, use CL_PLOCK_RELEASE macro
rather than calling cl_plock_release directly
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
diff --git a/osm/opensm/osm_sm.c b/osm/opensm/osm_sm.c
index 9aa4a36..100f2a0 100644
--- a/osm/opensm/osm_sm.c
+++ b/osm/opensm/osm_sm.c
@@ -740,7 +740,7 @@ osm_sm_mcgrp_join(
status = osm_port_add_mgrp( p_port, mlid );
if( status != IB_SUCCESS )
{
- cl_plock_release( p_sm->p_lock );
+ CL_PLOCK_RELEASE( p_sm->p_lock );
osm_log( p_sm->p_log, OSM_LOG_ERROR,
"osm_sm_mcgrp_join: ERR 2E03: "
"Unable to associate port 0x%" PRIx64 " to mlid 0x%X\n",
More information about the general
mailing list