提交 62179d47 编写于 作者: R Richard Weinberger

um: Add BUG() to do_ops()'s error path

In case we encounter a bad operation in do_ops() something is really
broken and it's better to BUG().
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 54ce9256
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册