X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter-specialize.c;h=e9a85c78569fa0fda78fae76b9dc2982bd11dd2d;hb=1d00109f7168cd30f3a2de6173d1e2ec36372ba9;hp=4f9a0cd1833da967fdc9fee7fb62cd74d2cb7771;hpb=4a6ea683a440dc224dc4a9628ff4f713c42f5922;p=lttng-modules.git diff --git a/lttng-filter-specialize.c b/lttng-filter-specialize.c index 4f9a0cd1..e9a85c78 100644 --- a/lttng-filter-specialize.c +++ b/lttng-filter-specialize.c @@ -11,6 +11,8 @@ #include #include "lib/align.h" +#include + static ssize_t bytecode_reserve_data(struct bytecode_runtime *runtime, size_t align, size_t len) { @@ -246,7 +248,8 @@ static int specialize_get_index(struct bytecode_runtime *runtime, } case OBJECT_TYPE_STRUCT: /* Only generated by the specialize phase. */ - case OBJECT_TYPE_VARIANT: /* Fall-through */ + case OBJECT_TYPE_VARIANT: + lttng_fallthrough; default: printk(KERN_WARNING "Unexpected get index type %d", (int) stack_top->load.object_type);