提交 c5200c90 编写于 作者: P Paul Mackerras

powerpc: Fix off-by-one error in prom_init.c

This was preventing us from recognizing that we did actually
instantiate RTAS successfully on pSeries.
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 eef289f7
......@@ -268,7 +268,7 @@ static int __init call_prom_ret(const char *service, int nargs, int nret,
if (rets != NULL)
for (i = 1; i < nret; ++i)
rets[i] = args.args[nargs+i];
rets[i-1] = args.args[nargs+i];
return (nret > 0) ? args.args[nargs] : 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册