projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)
[lttng-modules.git]
/
src
/
lttng-bytecode-specialize.c
diff --git
a/src/lttng-bytecode-specialize.c
b/src/lttng-bytecode-specialize.c
index c4b9d04ba3491c068481525ec2ee7693d7b45860..f8b5f19dcdc5d1629a9a9977631446f3c28a6483 100644
(file)
--- a/
src/lttng-bytecode-specialize.c
+++ b/
src/lttng-bytecode-specialize.c
@@
-8,6
+8,8
@@
*/
#include <linux/slab.h>
*/
#include <linux/slab.h>
+#include <wrapper/compiler_attributes.h>
+
#include <lttng/lttng-bytecode.h>
#include <lttng/align.h>
#include <lttng/events-internal.h>
#include <lttng/lttng-bytecode.h>
#include <lttng/align.h>
#include <lttng/events-internal.h>
@@
-271,7
+273,8
@@
static int specialize_get_index(struct bytecode_runtime *runtime,
}
case OBJECT_TYPE_STRUCT:
/* Only generated by the specialize phase. */
}
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 "LTTng: bytecode: Unexpected get index type %d",
(int) stack_top->load.object_type);
default:
printk(KERN_WARNING "LTTng: bytecode: Unexpected get index type %d",
(int) stack_top->load.object_type);
This page took
0.02483 seconds
and
4
git commands to generate.