linux/drivers/gpu/drm/amd
Kevin Wang 00430144ff 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 <kevin1.wang@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-21 17:30:45 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible 2019-08-21 17:29:49 -05:00
amdkfd Revert "drm/amdkfd: New IOCTL to allocate queue GWS" 2019-08-07 10:21:38 -05:00
display drm/amd/display: use kvmalloc for dc_state (v2) 2019-08-12 22:01:53 -05:00
include drm/amd/powerplay: add new sensor type for VCN powergate status 2019-07-31 02:02:22 -05:00
powerplay drm/amd/powerplay: fix variable type errors in smu_v11_0_setup_pptable 2019-08-21 17:30:45 -05:00