drm/amdgpu: cleanup coding style in amdgpu_amdkfd.c
authorJingyu Wang <jingyuwang_vip@163.com>
Mon, 5 Sep 2022 07:56:24 +0000 (15:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:58 +0000 (14:32 -0400)
Fix everything checkpatch.pl complained about in amdgpu_amdkfd.c

Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

index 091415a4abf02b203c019f36e504168062bbfb20..4f5bd96000ecfceebdc6afddc2a36f4984ff2b3d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 /*
  * Copyright 2014 Advanced Micro Devices, Inc.
  *
@@ -130,6 +131,7 @@ static void amdgpu_amdkfd_reset_work(struct work_struct *work)
                                                  kfd.reset_work);
 
        struct amdgpu_reset_context reset_context;
+
        memset(&reset_context, 0, sizeof(reset_context));
 
        reset_context.method = AMD_RESET_METHOD_NONE;