提交 9fbcbd7e 编写于 作者: H Hillf Danton 提交者: Ralf Baechle

MIPS: VPE: Select correct tc

If we could find tc on the tc list for @index, the found tc should be returned.
Signed-off-by: NHillf Danton <dhillf@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2692/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 ddf28352
......@@ -192,7 +192,7 @@ static struct tc *get_tc(int index)
}
spin_unlock(&vpecontrol.tc_list_lock);
return NULL;
return res;
}
/* allocate a vpe and associate it with this minor (or index) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册