OSDN Git Service

drm/amdgpu: clean up some inconsistent indentings
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 6 Jan 2023 01:32:32 +0000 (09:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Jan 2023 22:02:18 +0000 (17:02 -0500)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: inconsistent indenting

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3639
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

index a0780a4..6936cd6 100644 (file)
@@ -61,10 +61,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);
        }