drm/amdgpu: fix wrong type

Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
monk.liu 2015-06-08 14:48:15 +08:00 committed by Alex Deucher
parent e30590e6e3
commit 332300b97e
1 changed files with 2 additions and 1 deletions

View File

@ -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);