Loading tools/objtool/arch/loongarch/decode.c +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #include <linux/objtool_types.h> #include <arch/elf.h> int arch_ftrace_match(char *name) int arch_ftrace_match(const char *name) { return !strcmp(name, "_mcount"); } Loading tools/objtool/arch/powerpc/decode.c +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ #include <objtool/builtin.h> #include <objtool/endianness.h> int arch_ftrace_match(char *name) int arch_ftrace_match(const char *name) { return !strcmp(name, "_mcount"); } Loading tools/objtool/arch/x86/decode.c +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ #include <objtool/builtin.h> #include <arch/elf.h> int arch_ftrace_match(char *name) int arch_ftrace_match(const char *name) { return !strcmp(name, "__fentry__"); } Loading tools/objtool/elf.c +3 −3 Original line number Diff line number Diff line Loading @@ -853,7 +853,7 @@ elf_create_section_symbol(struct elf *elf, struct section *sec) return sym; } static int elf_add_string(struct elf *elf, struct section *strtab, char *str); static int elf_add_string(struct elf *elf, struct section *strtab, const char *str); struct symbol * elf_create_prefix_symbol(struct elf *elf, struct symbol *orig, long size) Loading Loading @@ -1086,7 +1086,7 @@ struct elf *elf_open_read(const char *name, int flags) return NULL; } static int elf_add_string(struct elf *elf, struct section *strtab, char *str) static int elf_add_string(struct elf *elf, struct section *strtab, const char *str) { Elf_Data *data; Elf_Scn *s; Loading @@ -1111,7 +1111,7 @@ static int elf_add_string(struct elf *elf, struct section *strtab, char *str) return -1; } data->d_buf = str; data->d_buf = strdup(str); data->d_size = strlen(str) + 1; data->d_align = 1; Loading tools/objtool/include/objtool/arch.h +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ struct stack_op { struct instruction; int arch_ftrace_match(char *name); int arch_ftrace_match(const char *name); void arch_initial_func_cfi_state(struct cfi_init_state *state); Loading Loading
tools/objtool/arch/loongarch/decode.c +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #include <linux/objtool_types.h> #include <arch/elf.h> int arch_ftrace_match(char *name) int arch_ftrace_match(const char *name) { return !strcmp(name, "_mcount"); } Loading
tools/objtool/arch/powerpc/decode.c +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ #include <objtool/builtin.h> #include <objtool/endianness.h> int arch_ftrace_match(char *name) int arch_ftrace_match(const char *name) { return !strcmp(name, "_mcount"); } Loading
tools/objtool/arch/x86/decode.c +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ #include <objtool/builtin.h> #include <arch/elf.h> int arch_ftrace_match(char *name) int arch_ftrace_match(const char *name) { return !strcmp(name, "__fentry__"); } Loading
tools/objtool/elf.c +3 −3 Original line number Diff line number Diff line Loading @@ -853,7 +853,7 @@ elf_create_section_symbol(struct elf *elf, struct section *sec) return sym; } static int elf_add_string(struct elf *elf, struct section *strtab, char *str); static int elf_add_string(struct elf *elf, struct section *strtab, const char *str); struct symbol * elf_create_prefix_symbol(struct elf *elf, struct symbol *orig, long size) Loading Loading @@ -1086,7 +1086,7 @@ struct elf *elf_open_read(const char *name, int flags) return NULL; } static int elf_add_string(struct elf *elf, struct section *strtab, char *str) static int elf_add_string(struct elf *elf, struct section *strtab, const char *str) { Elf_Data *data; Elf_Scn *s; Loading @@ -1111,7 +1111,7 @@ static int elf_add_string(struct elf *elf, struct section *strtab, char *str) return -1; } data->d_buf = str; data->d_buf = strdup(str); data->d_size = strlen(str) + 1; data->d_align = 1; Loading
tools/objtool/include/objtool/arch.h +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ struct stack_op { struct instruction; int arch_ftrace_match(char *name); int arch_ftrace_match(const char *name); void arch_initial_func_cfi_state(struct cfi_init_state *state); Loading