mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
54ce9256ad
commit
62179d47c2
@ -75,6 +75,7 @@ static int do_ops(struct host_vm_change *hvc, int end,
|
|||||||
default:
|
default:
|
||||||
printk(KERN_ERR "Unknown op type %d in do_ops\n",
|
printk(KERN_ERR "Unknown op type %d in do_ops\n",
|
||||||
op->type);
|
op->type);
|
||||||
|
BUG();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user