diff options
author | Ian Rogers <irogers@google.com> | 2022-06-06 17:08:51 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-06-19 10:41:43 -0300 |
commit | 1d98cdf7fa2bc6e8063c0a692a1c091d8ebe3a75 (patch) | |
tree | f7df771bc24ed8f366c657cf7114009e67f4715d /kernel/sysctl-test.c | |
parent | 354c6e071be986a44b956f7b57f1884244431048 (diff) | |
download | linux-1d98cdf7fa2bc6e8063c0a692a1c091d8ebe3a75.tar.gz linux-1d98cdf7fa2bc6e8063c0a692a1c091d8ebe3a75.tar.bz2 linux-1d98cdf7fa2bc6e8063c0a692a1c091d8ebe3a75.zip |
perf unwind: Fix uninitialized variable
The 'ret' variable may be uninitialized on error goto paths.
Fixes: dc2cf4ca866f5715 ("perf unwind: Fix segbase for ld.lld linked objects")
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Fangrui Song <maskray@google.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM-14 (x86-64)
Cc: Fangrui Song <maskray@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: llvm@lists.linux.dev
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Ullrich <sebasti@nullri.ch>
Link: https://lore.kernel.org/r/20220607000851.39798-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel/sysctl-test.c')
0 files changed, 0 insertions, 0 deletions