X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-abi.c;fp=lttng-abi.c;h=5c6f384d8fc62c6b40a229a30d9036a0be9f3f9e;hb=64c147c07f1361707e182762866524c1c14bb9ad;hp=d9e85dc21283c6e49a5ef3c527314e25b533be78;hpb=e9d818b9d564b1ca885fc0b8a6d08b0d205c606f;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index d9e85dc2..5c6f384d 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -1567,6 +1567,9 @@ long lttng_event_ioctl(struct file *file, unsigned int cmd, unsigned long arg) (struct lttng_kernel_event_callsite __user *) arg); case LTTNG_TYPE_ENABLER: return -EINVAL; + default: + WARN_ON_ONCE(1); + return -ENOSYS; } default: return -ENOIOCTLCMD;