diff options
Diffstat (limited to 'kernel/bpf/disasm.h')
-rw-r--r-- | kernel/bpf/disasm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/bpf/disasm.h b/kernel/bpf/disasm.h index e0857d016f89..266fe8ee542b 100644 --- a/kernel/bpf/disasm.h +++ b/kernel/bpf/disasm.h | |||
@@ -29,8 +29,8 @@ extern const char *const bpf_class_string[8]; | |||
29 | 29 | ||
30 | const char *func_id_name(int id); | 30 | const char *func_id_name(int id); |
31 | 31 | ||
32 | typedef void (*bpf_insn_print_t)(struct bpf_verifier_env *env, | 32 | typedef __printf(2, 3) void (*bpf_insn_print_t)(struct bpf_verifier_env *env, |
33 | const char *, ...); | 33 | const char *, ...); |
34 | typedef const char *(*bpf_insn_revmap_call_t)(void *private_data, | 34 | typedef const char *(*bpf_insn_revmap_call_t)(void *private_data, |
35 | const struct bpf_insn *insn); | 35 | const struct bpf_insn *insn); |
36 | typedef const char *(*bpf_insn_print_imm_t)(void *private_data, | 36 | typedef const char *(*bpf_insn_print_imm_t)(void *private_data, |