drm/amdgpu: Fix spelling mistake "rounter" -> "rounter"
Subsystems (3)
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.
Signed-off-by Colin Ian King <[email protected]>
--- 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
@@ -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
Quoted 5 lines · Colin Ian King
There is a spelling mistake with the array
utcl2_rounter_str, it appears it should beutcl2_router_str. Fix it.Signed-off-by Colin Ian King <[email protected]>
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@@ -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