diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-05 03:54:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-03-24 03:03:18 +0000 |
| commit | 692bd2a02e2dfe128e8451f9bc1806ab87d0b1d5 (patch) | |
| tree | f5046ac3404b77e3d610db148ae8a7e02b9f546a /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | drm/amd/display: Align cursor cache address to 2KB (diff) | |
| download | kernel-692bd2a02e2dfe128e8451f9bc1806ab87d0b1d5.tar.gz kernel-692bd2a02e2dfe128e8451f9bc1806ab87d0b1d5.zip | |
drm/amdgpu/swsmu: fix error return code of smu_v11_0_set_allowed_mask()
When bitmap_empty() or feature->feature_num triggers an error,
no error return code of smu_v11_0_set_allowed_mask() is assigned.
To fix this bug, ret is assigned with -EINVAL as error return code.
Reviewed-by: Evan Quan <[email protected]>
Reported-by: TOTE Robot <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions
