@@ -6507,9 +6507,9 @@ ib_switch_info_clear_state_change(IN ib_switch_info_t * const p_si)
* SEE ALSO
*********/
-/****f* IBA Base: Types/ib_switch_info_set_state_change
+/****f* IBA Base: Types/ib_switch_info_state_change_set
* NAME
-* ib_switch_info_set_state_change
+* ib_switch_info_state_change_set
*
* DESCRIPTION
* Clears the switch's state change bit.
@@ -6517,7 +6517,7 @@ ib_switch_info_clear_state_change(IN ib_switch_info_t * const p_si)
* SYNOPSIS
*/
static inline void OSM_API
-ib_switch_info_set_state_change(IN ib_switch_info_t * const p_si)
+ib_switch_info_state_change_set(IN ib_switch_info_t * const p_si)
{
p_si->life_state = (uint8_t) ((p_si->life_state & ~IB_SWITCH_PSC) | IB_SWITCH_PSC);
}
@@ -559,7 +559,7 @@ static void state_mgr_reset_state_change_bit(IN cl_map_item_t * obj,
si = p_sw->switch_info;
- ib_switch_info_set_state_change(&si);
+ ib_switch_info_state_change_set(&si);
OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
"Resetting PortStateChange on switch GUID 0x%016" PRIx64 "\n",
Function name collides with a function defined ibutils package. New name: ib_switch_info_state_change_set Signed-off-by: Alex Netes <alexne@mellanox.com> --- include/iba/ib_types.h | 6 +++--- opensm/osm_state_mgr.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)