Commit 1b0e235c authored by David S. Miller's avatar 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: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment