diff options
author | monk.liu <monk.liu@amd.com> | 2015-06-08 14:48:15 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-29 11:21:45 -0400 |
commit | 332300b97e700e000739c8db782406b6fd8f092d (patch) | |
tree | c833f7a8e03c70a1f86472bb7bed53b84077a40c /drivers/gpu | |
parent | e30590e6e36992a6db28f03409286c164868939f (diff) | |
download | blackbird-op-linux-332300b97e700e000739c8db782406b6fd8f092d.tar.gz blackbird-op-linux-332300b97e700e000739c8db782406b6fd8f092d.zip |
drm/amdgpu: fix wrong type
Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 8f0fc22f6810..f2d885c1da8f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -522,7 +522,8 @@ long amdgpu_fence_wait_seq_timeout(struct amdgpu_device *adev, u64 *target_seq, { uint64_t last_seq[AMDGPU_MAX_RINGS]; bool signaled; - int i, r; + int i; + long r; if (timeout == 0) { return amdgpu_fence_any_seq_signaled(adev, target_seq); |