diff options
author | Sandipan Das <sandipan.das@amd.com> | 2023-10-16 08:07:43 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-10-16 11:42:01 +0200 |
commit | 744940f1921c8feb90e3c4bcc1e153fdd6e10fe2 (patch) | |
tree | d5e34052ab3c113f2c2af81ef31147a1bedc8fd9 /include/uapi | |
parent | perf/x86/amd/uncore: Fix uninitialized return value in amd_uncore_init() (diff) | |
download | linux-744940f1921c8feb90e3c4bcc1e153fdd6e10fe2.tar.xz linux-744940f1921c8feb90e3c4bcc1e153fdd6e10fe2.zip |
perf/x86/amd/uncore: Pass through error code for initialization failures, instead of -ENODEV
Pass through the appropriate error code when the registration of hotplug
callbacks fail during initialization, instead of returning a blanket -ENODEV.
[ mingo: Updated the changelog. ]
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231016060743.332051-1-sandipan.das@amd.com
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions