Unverified Commit 4fef07bf authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 798865c6 a9880693
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -713,7 +713,7 @@ static u16 HPIMSGX__init(struct hpi_message *phm,
		phr->error = HPI_ERROR_PROCESSING_MESSAGE;
		return phr->error;
	}
	if (hr.error == 0) {
	if (hr.error == 0 && hr.u.s.adapter_index < HPI_MAX_ADAPTERS) {
		/* the adapter was created successfully
		   save the mapping for future use */
		hpi_entry_points[hr.u.s.adapter_index] = entry_point_func;