projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ce925
)
um: Add BUG() to do_ops()'s error path
author
Richard Weinberger
<richard@nod.at>
Fri, 13 Apr 2012 13:54:01 +0000
(15:54 +0200)
committer
Richard Weinberger
<richard@nod.at>
Mon, 21 May 2012 19:09:33 +0000
(21:09 +0200)
In case we encounter a bad operation in do_ops() something is really
broken and it's better to BUG().
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/tlb.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/tlb.c
b/arch/um/kernel/tlb.c
index
7f3d4d8
..
f819af9
100644
(file)
--- a/
arch/um/kernel/tlb.c
+++ b/
arch/um/kernel/tlb.c
@@
-75,6
+75,7
@@
static int do_ops(struct host_vm_change *hvc, int end,
default:
printk(KERN_ERR "Unknown op type %d in do_ops\n",
op->type);
+ BUG();
break;
}
}