diff options
author | Yinan Liu <yinan@linux.alibaba.com> | 2022-01-18 07:52:41 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2022-01-18 16:17:18 +0100 |
commit | 35140d399db2b67153fc53b51a97ddb8ba3b5956 (patch) | |
tree | a404a8ce8c3219084ba315eb8bdb16254878f776 /kernel/trace | |
parent | tracing: Add ustring operation to filtering string pointers (diff) | |
download | linux-35140d399db2b67153fc53b51a97ddb8ba3b5956.tar.xz linux-35140d399db2b67153fc53b51a97ddb8ba3b5956.zip |
script/sorttable: Fix some initialization problems
elf_mcount_loc and mcount_sort_thread definitions are not
initialized immediately within the function, which can cause
the judgment logic to use uninitialized values when the
initialization logic of subsequent code fails.
Link: https://lkml.kernel.org/r/20211212113358.34208-2-yinan@linux.alibaba.com
Link: https://lkml.kernel.org/r/20220118065241.42364-1-yinan@linux.alibaba.com
Fixes: 72b3942a173c ("scripts: ftrace - move the sort-processing in ftrace_init")
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Yinan Liu <yinan@linux.alibaba.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions