Skip to contentSkip to conversation

drm/amdgpu: Fix typos in amdgpu_stop_pending_resets

PATCH In review Kent Russell 2 participants 2 messages Jun 28, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix typos in amdgpu_stop_pending_resets

Change amdggpu to amdgpu and pedning to pending

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -2
index a2c268d48edd..39a875494edb 100644
@@ -5075,7 +5075,7 @@ static void amdgpu_device_recheck_guilty_jobs(
 	}
 }
 
-static inline void amdggpu_device_stop_pedning_resets(struct amdgpu_device *adev)
+static inline void amdgpu_device_stop_pending_resets(struct amdgpu_device *adev)
 {
 	struct amdgpu_ras *con = amdgpu_ras_get_context(adev);
 
@@ -5256,7 +5256,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
 		 * Drop all pending non scheduler resets. Scheduler resets
 		 * were already dropped during drm_sched_stop
 		 */
-		amdggpu_device_stop_pedning_resets(tmp_adev);
+		amdgpu_device_stop_pending_resets(tmp_adev);
 	}
 
 	tmp_vram_lost_counter = atomic_read(&((adev)->vram_lost_counter));
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Kent Russell

Change amdggpu to amdgpu and pedning to pending

Quoted 29 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -3
index a2c268d48edd..39a875494edb 100644
@@ -5075,7 +5075,7 @@ static void amdgpu_device_recheck_guilty_jobs(
        }
 }
 
-static inline void amdggpu_device_stop_pedning_resets(struct amdgpu_device *adev)
+static inline void amdgpu_device_stop_pending_resets(struct amdgpu_device *adev)
 {
        struct amdgpu_ras *con = amdgpu_ras_get_context(adev);
 
@@ -5256,7 +5256,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
                 * Drop all pending non scheduler resets. Scheduler resets
                 * were already dropped during drm_sched_stop
                 */
-               amdggpu_device_stop_pedning_resets(tmp_adev);
+               amdgpu_device_stop_pending_resets(tmp_adev);
        }
 
        tmp_vram_lost_counter = atomic_read(&((adev)->vram_lost_counter));
--

2.25.1