diff options
author | 2018-03-23 14:39:03 +0300 | |
---|---|---|
committer | 2018-04-03 12:52:57 -0500 | |
commit | 326a59e78a05e0a4941463d16ea427337d90e0f5 (patch) | |
tree | a918d2dede7a337bafbdedd9e7b8bcb8dd37c55c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/amdgpu: drop compute ring timeout setting for non-sriov only (v2) (diff) | |
download | linux-dev-326a59e78a05e0a4941463d16ea427337d90e0f5.tar.xz linux-dev-326a59e78a05e0a4941463d16ea427337d90e0f5.zip |
drm/amd/pp: silence a static checker warning
This has a static checker warning because "frev" and "crev" can be
uninitialized if "info" is NULL. I just changed the order of the checks
so that we check "info" first.
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions