drm/amdkfd: clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 13 Oct 2023 03:21:29 +0000 (11:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2023 22:26:52 +0000 (18:26 -0400)
No functional modification involved.

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:305 svm_range_free() warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6804
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c

index f4038b33c4042da0dbd6b5e9ad04307a6c19ad51..eef76190800c60f6af9918279a35d072182406ab 100644 (file)
@@ -302,7 +302,7 @@ static void svm_range_free(struct svm_range *prange, bool do_unmap)
        for (gpuidx = 0; gpuidx < MAX_GPU_INSTANCE; gpuidx++) {
                if (prange->dma_addr[gpuidx]) {
                        kvfree(prange->dma_addr[gpuidx]);
-                               prange->dma_addr[gpuidx] = NULL;
+                       prange->dma_addr[gpuidx] = NULL;
                }
        }