Fix: uprobes: missing break in lttng_event_ioctl()
[lttng-modules.git] / lttng-abi.c
index 9d3f74240724ca72f5c4db1b93c4d74837b99848..0534472ad8c1a1189495fd73e5ccbbdf05477a82 100644 (file)
@@ -1472,7 +1472,9 @@ long lttng_event_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                        return lttng_enabler_attach_bytecode(enabler,
                                (struct lttng_kernel_filter_bytecode __user *) arg);
                }
-
+               default:
+                       WARN_ON_ONCE(1);
+                       return -ENOSYS;
                }
        case LTTNG_KERNEL_ADD_CALLSITE:
                switch (*evtype) {
This page took 0.02209 seconds and 4 git commands to generate.