Unverified Commit 77a429f9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15137 net/mlx5: Fix variable not being completed when function returns

parents c7cc2835 fc1c2f61
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -937,6 +937,7 @@ static void cmd_work_handler(struct work_struct *work)
				complete(&ent->done);
			}
			up(&cmd->sem);
			complete(&ent->slotted);
			return;
		}
		ent->idx = alloc_ret;