Skip to contentSkip to conversation

drm/amdgpu: Fix spelling mistake "rounter" -> "rounter"

PATCH In review Colin Ian King 2 participants 2 messages Apr 22, 2025

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

PATCH 1/1 drm/amdgpu: Fix spelling mistake "rounter" -> "rounter"

There is a spelling mistake with the array utcl2_rounter_str, it appears it should be utcl2_router_str. Fix it.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c +2 -2
index d81449f9d822..c48cd47b531f 100644
@@ -1547,7 +1547,7 @@ static void gfx_v9_4_2_log_utc_edc_count(struct amdgpu_device *adev,
 {
 	uint32_t bank, way, mem;
 	static const char * const vml2_way_str[] = { "BIGK", "4K" };
-	static const char * const utcl2_rounter_str[] = { "VMC", "APT" };
+	static const char * const utcl2_router_str[] = { "VMC", "APT" };
 
 	mem = instance % blk->num_mem_blocks;
 	way = (instance / blk->num_mem_blocks) % blk->num_ways;
@@ -1568,7 +1568,7 @@ static void gfx_v9_4_2_log_utc_edc_count(struct amdgpu_device *adev,
 		dev_info(
 			adev->dev,
 			"GFX SubBlock UTCL2_ROUTER_IFIF%d_GROUP0_%s, SED %d, DED %d\n",
-			bank, utcl2_rounter_str[mem], sec_cnt, ded_cnt);
+			bank, utcl2_router_str[mem], sec_cnt, ded_cnt);
 		break;
 	case ATC_L2_CACHE_2M:
 		dev_info(
Signature · 1 line
2.49.0
#1 lore raw
Quoted 5 lines · Colin Ian King

There is a spelling mistake with the array utcl2_rounter_str, it appears it should be utcl2_router_str. Fix it.

Applied with the patch title fixed up.

Thanks!

Alex

Quoted 29 lines
---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c +2 -3
index d81449f9d822..c48cd47b531f 100644
@@ -1547,7 +1547,7 @@ static void gfx_v9_4_2_log_utc_edc_count(struct amdgpu_device *adev,
 {
        uint32_t bank, way, mem;
        static const char * const vml2_way_str[] = { "BIGK", "4K" };
-       static const char * const utcl2_rounter_str[] = { "VMC", "APT" };
+       static const char * const utcl2_router_str[] = { "VMC", "APT" };
 
        mem = instance % blk->num_mem_blocks;
        way = (instance / blk->num_mem_blocks) % blk->num_ways;
@@ -1568,7 +1568,7 @@ static void gfx_v9_4_2_log_utc_edc_count(struct amdgpu_device *adev,
                dev_info(
                        adev->dev,
                        "GFX SubBlock UTCL2_ROUTER_IFIF%d_GROUP0_%s, SED %d, DED %d\n",
-                       bank, utcl2_rounter_str[mem], sec_cnt, ded_cnt);
+                       bank, utcl2_router_str[mem], sec_cnt, ded_cnt);
                break;
        case ATC_L2_CACHE_2M:
                dev_info(
--

2.49.0