Skip to contentSkip to conversation

drm/amdgpu/mes11: Indent an if statment

PATCH Applied Dan Carpenter 2 participants 2 messages Sep 4, 2024 – Sep 6, 2024

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

PATCH 1/1 drm/amdgpu/mes11: Indent an if statment

Indent the "break" statement one more tab.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
index 0f055d1b1da6..ee91ff9e52a2 100644
@@ -415,7 +415,7 @@ static int mes_v11_0_reset_queue_mmio(struct amdgpu_mes *mes, uint32_t queue_typ
 		/* wait till dequeue take effects */
 		for (i = 0; i < adev->usec_timeout; i++) {
 			if (!(RREG32_SOC15(GC, 0, regCP_HQD_ACTIVE) & 1))
-			break;
+				break;
 			udelay(1);
 		}
 		if (i >= adev->usec_timeout) {
Signature · 1 line
2.45.2
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 24 lines · Dan Carpenter

Indent the "break" statement one more tab.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -2
index 0f055d1b1da6..ee91ff9e52a2 100644
@@ -415,7 +415,7 @@ static int mes_v11_0_reset_queue_mmio(struct amdgpu_mes *mes, uint32_t queue_typ
                /* wait till dequeue take effects */
                for (i = 0; i < adev->usec_timeout; i++) {
                        if (!(RREG32_SOC15(GC, 0, regCP_HQD_ACTIVE) & 1))
-                       break;
+                               break;
                        udelay(1);
                }
                if (i >= adev->usec_timeout) {
--

2.45.2