projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c2a14
)
[POWERPC] Fix backwards ? : when printing machine type
author
anton@samba.org
<anton@samba.org>
Wed, 21 Mar 2007 01:38:14 +0000
(20:38 -0500)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 26 Mar 2007 02:34:31 +0000
(12:34 +1000)
Looks like someone got this backwards, highlighting the perils of the
? : !!! :)
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/traps.c
b/arch/powerpc/kernel/traps.c
index 55d221ffcf1e7b3ffc6cad180a09e859881d4067..f7862224fe85e92748a8f1e28a0b7ef71a57b330 100644
(file)
--- a/
arch/powerpc/kernel/traps.c
+++ b/
arch/powerpc/kernel/traps.c
@@
-153,7
+153,7
@@
int die(const char *str, struct pt_regs *regs, long err)
#ifdef CONFIG_NUMA
printk("NUMA ");
#endif
- printk("%s\n", ppc_md.name ?
"" : ppc_md.name
);
+ printk("%s\n", ppc_md.name ?
ppc_md.name : ""
);
print_modules();
show_regs(regs);