projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db8508
)
sparc64: Fix crashes in jbusmc_print_dimm()
author
David S. Miller
<davem@davemloft.net>
Wed, 11 Feb 2009 08:54:07 +0000
(
00:54
-0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Feb 2009 08:54:07 +0000
(
00:54
-0800)
Return was missing for the case where there is no dimm
info match.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/chmc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/chmc.c
b/arch/sparc/kernel/chmc.c
index 3b9f4d6e14a9d3119a939e7b5edfc3aec30c554b..e1a9598e2a4db8b0c0cc36aca1c7ac5addb1dbc5 100644
(file)
--- a/
arch/sparc/kernel/chmc.c
+++ b/
arch/sparc/kernel/chmc.c
@@
-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;