aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2016-11-22 21:15:59 +0000
committerRafael J. Wysocki <[email protected]>2016-11-24 20:58:31 +0000
commita74f43675790ae55b908940652b4b04b236d8f18 (patch)
treed189b5b172644d771f5053c36a2dae80e84f5a7b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentpowercap/intel_rapl: Add missing domain data update on hotplug (diff)
downloadkernel-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