drm/amdgpu: clean up some inconsistent indentings
Subsystems (2)
PATCH 1/1 drm/amdgpu: clean up some inconsistent indentings
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: inconsistent indenting
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +3 -3
@@ -62,10 +62,10 @@ static vm_fault_t amdgpu_gem_fault(struct vm_fault *vmf) goto unlock; } - ret =ttm_bo_vm_fault_reserved (vmf, vmf->vma->vm_page_prot, -TTM_BO_VM_NUM_PREFAULT ); + ret =ttm_bo_vm_fault_reserved (vmf, vmf->vma->vm_page_prot, +TTM_BO_VM_NUM_PREFAULT ); -drm_dev_exit (idx); +drm_dev_exit (idx); }else { ret =ttm_bo_vm_dummy_page (vmf, vmf->vma->vm_page_prot); }
Signature · 1 line
2.20.1.7.g153144c
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 31 lines · Yang Li
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65amdgpu_gem_fault()warn: inconsistent indentingReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +3
-4@@ -62,10 +62,10 @@ static vm_fault_t amdgpu_gem_fault(struct vm_fault *vmf) goto unlock; } - ret =ttm_bo_vm_fault_reserved (vmf, vmf->vma->vm_page_prot, -TTM_BO_VM_NUM_PREFAULT ); + ret =ttm_bo_vm_fault_reserved (vmf, vmf->vma->vm_page_prot, +TTM_BO_VM_NUM_PREFAULT ); -drm_dev_exit (idx); +drm_dev_exit (idx); }else { ret =ttm_bo_vm_dummy_page (vmf, vmf->vma->vm_page_prot); } --2.20.1.7.g153144c