summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-11-23 18:52:21 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-11-26 15:47:34 -0500
commit51f1f6f51712aade68cabb145ed8bab4a6c3997e (patch)
treee89e3aebb53d7a56e96278bb3c7dc4d43c612dee /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
parent8ca606de76a212b8c2b8212f82a13f8201cc3117 (diff)
downloadlinux-51f1f6f51712aade68cabb145ed8bab4a6c3997e.tar.gz
linux-51f1f6f51712aade68cabb145ed8bab4a6c3997e.tar.bz2
linux-51f1f6f51712aade68cabb145ed8bab4a6c3997e.zip
drm/amdgpu: Fix static checker warning
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:49 amdgpu_allocate_static_csa() error: uninitialized symbol 'ptr'. the test if (!bo) doesn't work, as the bo is a pointer to a pointer. if bo create failed, the *bo will be set to NULL. so change to test *bo. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h')
0 files changed, 0 insertions, 0 deletions