diff options
| author | 2023-10-13 10:18:12 +0300 | |
|---|---|---|
| committer | 2023-10-13 09:32:50 +0200 | |
| commit | 7543365739a4ff61d40ad53ab68c17d2e7dfb0c9 (patch) | |
| tree | 6c56b451242e95923cd37230cebdbfa4dea98883 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | x86/cpu: Fix the AMD Fam 17h, Fam 19h, Zen2 and Zen4 MSR enumerations (diff) | |
perf/x86/amd/uncore: Fix uninitialized return value in amd_uncore_init()
Some of the error paths in this function return don't initialize the
error code. Return -ENODEV by default.
Fixes: d6389d3ccc13 ("perf/x86/amd/uncore: Refactor uncore management")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/cec62eba-c4b8-4cb7-9671-58894dd4b974@moroto.mountain
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
