aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorGuchun Chen <[email protected]>2021-03-30 09:58:28 +0000
committerAlex Deucher <[email protected]>2021-04-09 20:49:42 +0000
commit9973de10b5b70b0e5ed9e01e3b392dfc65ab215d (patch)
tree89cb3eda3ae31393e3eba59f3aba5a5ff18362f9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdgpu: fix NULL pointer dereference (diff)
downloadkernel-9973de10b5b70b0e5ed9e01e3b392dfc65ab215d.tar.gz
kernel-9973de10b5b70b0e5ed9e01e3b392dfc65ab215d.zip
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions