opensm/ib_types.h: Mask off client rereg bit in set_client_rereg
PATCH 1/1 opensm/ib_types.h: Mask off client rereg bit in set_client_rereg
Issue introduced by commit 2d13530a16ab580894d3c2f83536dcf93909f43f
Signed-off-by Hal Rosenstock <[email protected]>
---
opensm/include/iba/ib_types.h +1 -1
@@ -5315,7 +5315,7 @@ ib_port_info_set_client_rereg(IN ib_port_info_t * const p_pi, {CL_ASSERT (client_rereg <=0x1 ); p_pi->subnet_timeout = - (uint8_t ) (p_pi->subnet_timeout | (client_rereg <<7 )); + (uint8_t ) ((p_pi->subnet_timeout &0x7F ) | (client_rereg <<7 )); }/*
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Sasha Khapyorsky
AppliedQuoted 4 lines · Hal Rosenstock
Issue introduced by commit
2d13530a16ab580894d3c2f83536dcf93909f43fSigned-off-by Hal Rosenstock <[email protected]>
Applied. Thanks.
Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html