Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62179d47 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

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: default avatarRichard Weinberger <richard@nod.at>
parent 54ce9256
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
		}
	}