When deleting ServiceRecord for service_name[6] fails, error status should
be set.

Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/opensm/osmtest/osmt_service.c b/opensm/osmtest/osmt_service.c
index a203b0c..891fbe3 100644
--- a/opensm/osmtest/osmt_service.c
+++ b/opensm/osmtest/osmt_service.c
@@ -1578,6 +1578,7 @@ ib_api_status_t osmt_run_service_records_flow(IN 
osmtest_t * const p_osmt)
                OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 4A32: "
                        "Failed to delete service name: %s\n",
                        (char *)service_name[6]);
+               status = IB_ERROR;
                goto Exit;
        }
 
--
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

Reply via email to