aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorKevin Wang <[email protected]>2019-08-19 15:38:02 +0000
committerAlex Deucher <[email protected]>2019-08-22 03:17:07 +0000
commitebecc6c48f39b3c549bee1e4ecb9be01bf341a0f (patch)
tree47674660866d9c9de776de493980f26462e44c63 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amd/powerplay: add smu_smc_read_sensor support for arcturus (diff)
downloadkernel-ebecc6c48f39b3c549bee1e4ecb9be01bf341a0f.tar.gz
kernel-ebecc6c48f39b3c549bee1e4ecb9be01bf341a0f.zip
drm/amd/powerplay: fix variable type errors in smu_v11_0_setup_pptable
fix size type errors, from uint32_t to uint16_t. it will cause only initializes the highest 16 bits in smu_get_atom_data_table function. bug report: This fixes the following static checker warning. drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:390 smu_v11_0_setup_pptable() warn: passing casted pointer '&size' to 'smu_get_atom_data_table()' 32 vs 16. Signed-off-by: Kevin Wang <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions