Commit 3e4ae1dc authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/amdgpu: print pid as integer

Not sure why somebody thought that this is a long.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 87d58c11
...@@ -720,9 +720,9 @@ static int amdgpu_debugfs_gem_info(struct seq_file *m, void *data) ...@@ -720,9 +720,9 @@ static int amdgpu_debugfs_gem_info(struct seq_file *m, void *data)
placement = " CPU"; placement = " CPU";
break; break;
} }
seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8ld\n", seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8d\n",
i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20, i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20,
placement, (unsigned long)rbo->pid); placement, rbo->pid);
i++; i++;
} }
mutex_unlock(&adev->gem.mutex); mutex_unlock(&adev->gem.mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment