diff options
| author | Thomas Gleixner <[email protected]> | 2016-11-22 21:15:59 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-11-24 20:58:31 +0000 |
| commit | a74f43675790ae55b908940652b4b04b236d8f18 (patch) | |
| tree | d189b5b172644d771f5053c36a2dae80e84f5a7b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | powercap/intel_rapl: Add missing domain data update on hotplug (diff) | |
| download | kernel-a74f43675790ae55b908940652b4b04b236d8f18.tar.gz kernel-a74f43675790ae55b908940652b4b04b236d8f18.zip | |
powercap/intel_rapl: Propagate error code when registration fails
If rapl_package_register_powercap() fails in rapl_add_package() the
function happily returns 0.
Capture the error code and propagate it.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Jacob Pan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
