From: Mathieu Desnoyers Date: Mon, 28 Feb 2022 15:40:40 +0000 (-0500) Subject: lttng_abi_create_event_notifier: add missing fallthrough X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=2ef45da8a00ecf01c642a99de5a50e5670f33bce;p=lttng-modules.git lttng_abi_create_event_notifier: add missing fallthrough Signed-off-by: Mathieu Desnoyers Change-Id: I8e7011f63ccce4db21b36fcd18eb78e95ca2f406 --- diff --git a/src/lttng-abi.c b/src/lttng-abi.c index b94f34cb..2675414e 100644 --- a/src/lttng-abi.c +++ b/src/lttng-abi.c @@ -2310,6 +2310,7 @@ int lttng_abi_create_event_notifier(struct file *event_notifier_group_file, switch (event_notifier_param->event.instrumentation) { case LTTNG_KERNEL_ABI_TRACEPOINT: + lttng_fallthrough; case LTTNG_KERNEL_ABI_UPROBE: break; case LTTNG_KERNEL_ABI_KPROBE: @@ -2319,7 +2320,9 @@ int lttng_abi_create_event_notifier(struct file *event_notifier_group_file, break; case LTTNG_KERNEL_ABI_KRETPROBE: /* Placing an event notifier on kretprobe is not supported. */ + lttng_fallthrough; case LTTNG_KERNEL_ABI_FUNCTION: + lttng_fallthrough; case LTTNG_KERNEL_ABI_NOOP: default: ret = -EINVAL;