提交 1b0e235c 编写于 作者: D David S. Miller

sparc64: Fix crashes in jbusmc_print_dimm()

Return was missing for the case where there is no dimm
info match.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1db8508c
......@@ -306,6 +306,7 @@ static int jbusmc_print_dimm(int syndrome_code,
buf[1] = '?';
buf[2] = '?';
buf[3] = '\0';
return 0;
}
p = dp->controller;
prop = &p->layout;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册