linux_dsm_epyc7002/drivers/gpu/drm/amd
Dan Carpenter 4ff17a1df7 drm/amdgpu/vi: silence an uninitialized variable warning
Smatch complains that we need to initialized "*cap" otherwise it can
lead to an uninitialized variable bug in the caller.  This seems like a
reasonable warning and it doesn't hurt to silence it at least.

drivers/gpu/drm/amd/amdgpu/vi.c:767 vi_asic_reset_method() error: uninitialized symbol 'baco_reset'.

Fixes: 425db2553e ("drm/amdgpu: expose BACO interfaces to upper level from PP")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-25 16:15:00 -04:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/vce: make some functions static 2019-10-25 16:15:00 -04:00
amdkfd drm/amdkfd: update for drmP.h removal 2019-10-09 12:04:48 -05:00
display drm/amdgpu/display: fix build when CONFIG_DRM_AMD_DC_DSC_SUPPORT=n 2019-10-17 16:30:46 -04:00
include drm/amdgpu: update atomfirmware header with memory training related members(v3) 2019-10-17 16:31:25 -04:00
powerplay drm/amdgpu/vi: silence an uninitialized variable warning 2019-10-25 16:15:00 -04:00