Skip to contentSkip to conversation

osmtest/osmt_service.c: In osmt_run_service_records_flow, add missing status

PATCH Applied Hal Rosenstock 2 participants 2 messages Sep 27, 2010 – Nov 30, 2010 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osmtest/osmt_service.c: In osmt_run_service_records_flow, add missing status

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

---

opensm/osmtest/osmt_service.c +1 -0
index a203b0c..891fbe3 100644
@@ -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