Skip to contentSkip to conversation

amdkfd: Fixing the clang format

PATCH In review Ahmad Rehman 2 participants 2 messages Nov 5, 2025 – Nov 7, 2025

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

PATCH 1/1 amdkfd: Fixing the clang format

This patch fixes the formatting in the patch "amdkfd: Do nto wait for queue op response during reset"

---
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -1
index 0904c36192c7..d7a2e7178ea9 100644
@@ -2095,7 +2095,7 @@ int amdkfd_fence_wait_timeout(struct device_queue_manager *dqm,
 	while (*fence_addr != fence_value) {
 		/* Fatal err detected, this response won't come */
 		if (amdgpu_amdkfd_is_fed(dqm->dev->adev) ||
-				amdgpu_in_reset(dqm->dev->adev))
+		    amdgpu_in_reset(dqm->dev->adev))
 			return -EIO;
 
 		if (time_after(jiffies, end_jiffies)) {
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Ahmad Rehman

This patch fixes the formatting in the patch "amdkfd: Do nto wait for queue op response during reset"

Thanks,
Lijo

Quoted 17 lines
---
  drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -1
index 0904c36192c7..d7a2e7178ea9 100644
@@ -2095,7 +2095,7 @@ int amdkfd_fence_wait_timeout(struct device_queue_manager *dqm,
  	while (*fence_addr != fence_value) {
  		/* Fatal err detected, this response won't come */
  		if (amdgpu_amdkfd_is_fed(dqm->dev->adev) ||
-				amdgpu_in_reset(dqm->dev->adev))
+		    amdgpu_in_reset(dqm->dev->adev))
  			return -EIO;
 
  		if (time_after(jiffies, end_jiffies)) {