From: Tomer Cohen <tomerco@xxxxxxxxxxxx> Date: Sun, 4 May 2014 11:38:01 +0300 found by Coverity Signed-off-by: Tomer Cohen <tomerco@xxxxxxxxxxxx> Signed-off-by: Hal Rosenstock <hal@xxxxxxxxxxxx> --- osmtest/osmtest.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osmtest/osmtest.c b/osmtest/osmtest.c index 857df86..d7aef60 100644 --- a/osmtest/osmtest.c +++ b/osmtest/osmtest.c @@ -5097,9 +5097,9 @@ osmtest_validate_single_port_rec_lid(IN osmtest_t * const p_osmt, memset(&context, 0, sizeof(context)); context.p_osmt = p_osmt; - osmtest_get_port_rec_by_num(p_osmt, - p_port->rec.lid, - p_port->rec.port_num, &context); + status = osmtest_get_port_rec_by_num(p_osmt, + p_port->rec.lid, + p_port->rec.port_num, &context); if (status != IB_SUCCESS) { OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0108: " "ib_query failed (%s)\n", ib_get_err_str(status)); -- 1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html