X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-abi.c;h=0534472ad8c1a1189495fd73e5ccbbdf05477a82;hp=9d3f74240724ca72f5c4db1b93c4d74837b99848;hb=740572854b9a9a2670ef6185afc9707608559368;hpb=3aed4dca825a63757a3c95b9d41019660f83e02d diff --git a/lttng-abi.c b/lttng-abi.c index 9d3f7424..0534472a 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -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) {