diff options
author | Guchun Chen <guchun.chen@amd.com> | 2021-03-30 17:58:28 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:49:42 -0400 |
commit | 9973de10b5b70b0e5ed9e01e3b392dfc65ab215d (patch) | |
tree | 89cb3eda3ae31393e3eba59f3aba5a5ff18362f9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 3c3dc654333f6389803cdcaf03912e94173ae510 (diff) | |
download | linux-9973de10b5b70b0e5ed9e01e3b392dfc65ab215d.tar.bz2 |
drm/amdgpu: fix compiler warning(v2)
warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY);
v2: put short variable declaration last
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions