mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
sparc64: Fix crashes in jbusmc_print_dimm()
Return was missing for the case where there is no dimm info match. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1db8508cf4
commit
1b0e235cc9
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ static int jbusmc_print_dimm(int syndrome_code,
|
||||||
buf[1] = '?';
|
buf[1] = '?';
|
||||||
buf[2] = '?';
|
buf[2] = '?';
|
||||||
buf[3] = '\0';
|
buf[3] = '\0';
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
p = dp->controller;
|
p = dp->controller;
|
||||||
prop = &p->layout;
|
prop = &p->layout;
|
||||||
|
|
Loading…
Reference in a new issue