Rex Zhu 51f1f6f517 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>
2018-11-26 15:47:34 -05:00
..
2018-10-24 20:04:03 -05:00
2017-10-20 13:28:44 -04:00
2018-11-19 10:40:33 +10:00
2018-11-05 15:49:37 -05:00
2018-02-19 14:18:10 -05:00
2018-08-28 11:22:42 -05:00
2016-08-31 15:21:09 -04:00
2018-11-05 15:49:37 -05:00
2018-11-05 15:49:37 -05:00
2018-02-19 14:18:11 -05:00