opensm/osmtest.c: fix bug in getting attr offset
PATCH 1/1 opensm/osmtest.c: fix bug in getting attr offset
Fix bug that was introduced by commit 4fd4ca306f93376963725285f3bf7c87a76055b0
Signed-off-by Yevgeny Kliteynik <[email protected]>
--- opensm/osmtest/osmtest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
opensm/osmtest/osmtest.c +1 -1
@@ -563,7 +563,7 @@ osmtest_get_all_recs(IN osmtest_t * const p_osmt, p_context->p_osmt = p_osmt; user.attr_id = attr_id; - user.attr_offset =ib_get_attr_offset ((uint16_t ) (attr_size >>3 )); + user.attr_offset =ib_get_attr_offset ((uint16_t ) attr_size); req.query_type =OSMV_QUERY_USER_DEFINED ; req.timeout_ms = p_osmt->opt.transaction_timeout;
Signature · 6 lines
1.5.1.4 -- 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): 4C173AE5.6030207-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Sasha Khapyorsky
AppliedQuoted 3 lines · Yevgeny Kliteynik
Fix bug that was introduced by commit
4fd4ca306f93376963725285f3bf7c87a76055b0Signed-off-by Yevgeny Kliteynik <[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