drm/amdkfd: clean up some inconsistent indentings
Subsystems (3)
PATCH 1/1 drm/amdkfd: clean up some inconsistent indentings
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:331 svm_migrate_copy_to_vram() warn: inconsistent indenting
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +1 -2
@@ -328,8 +328,7 @@ svm_migrate_copy_to_vram(struct amdgpu_device *adev, struct svm_range *prange, dst[i] = cursor.start + (j <<PAGE_SHIFT ); migrate->dst[i] =svm_migrate_addr_to_pfn (adev, dst[i]); -svm_migrate_get_vram_page (&kfddev->pgmap, prange, - migrate->dst[i]); +svm_migrate_get_vram_page (&kfddev->pgmap, prange, migrate->dst[i]); migrate->dst[i] =migrate_pfn (migrate->dst[i]); spage =migrate_pfn_to_page (migrate->src[i]);
Signature · 1 line
2.20.1.7.g153144c
Felix Kuehling
maintainerAm 2022-10-25 um 02:09 schrieb Yang Li:
Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:331svm_migrate_copy_to_vram()warn: inconsistent indentingReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
This patch doesn't apply to our amd-staging-drm-next, nor to the kernel.org master branch. Which branch is this against?
Thanks,
Felix
Quoted 18 lines
--- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +1
-2@@ -328,8 +328,7 @@ svm_migrate_copy_to_vram(struct amdgpu_device *adev, struct svm_range *prange, dst[i] = cursor.start + (j <<PAGE_SHIFT ); migrate->dst[i] =svm_migrate_addr_to_pfn (adev, dst[i]); -svm_migrate_get_vram_page (&kfddev->pgmap, prange, - migrate->dst[i]); +svm_migrate_get_vram_page (&kfddev->pgmap, prange, migrate->dst[i]); migrate->dst[i] =migrate_pfn (migrate->dst[i]); spage =migrate_pfn_to_page (migrate->src[i]);