drm: amd: fix spelling mistake "shoudn't" -> "shouldn't"
authorColin Ian King <colin.king@canonical.com>
Tue, 17 Mar 2020 11:47:48 +0000 (11:47 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:05 +0000 (00:03 -0400)
There are spelling mistakes in pr_err messages and a comment. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c

index 89a28abbb4d2dd4275ad813eac54fba2d92245ac..42bbc0070831c425774491b807ff35b09e7b81f0 100644 (file)
@@ -246,7 +246,7 @@ static void gfx_v10_rlcg_wreg(struct amdgpu_device *adev, u32 offset, u32 v)
        grbm_idx = adev->reg_offset[GC_HWIP][0][mmGRBM_GFX_INDEX_BASE_IDX] + mmGRBM_GFX_INDEX;
 
        if (amdgpu_sriov_runtime(adev)) {
-               pr_err("shoudn't call rlcg write register during runtime\n");
+               pr_err("shouldn't call rlcg write register during runtime\n");
                return;
        }
 
index 5c8fb647f26fe81c643cf1375653f8a151dc590e..ba90a14089cfdad58f843d591d518b98270e4efc 100644 (file)
@@ -746,7 +746,7 @@ void gfx_v9_0_rlcg_wreg(struct amdgpu_device *adev, u32 offset, u32 v)
        grbm_idx = adev->reg_offset[GC_HWIP][0][mmGRBM_GFX_INDEX_BASE_IDX] + mmGRBM_GFX_INDEX;
 
        if (amdgpu_sriov_runtime(adev)) {
-               pr_err("shoudn't call rlcg write register during runtime\n");
+               pr_err("shouldn't call rlcg write register during runtime\n");
                return;
        }
 
index bb77b8890e77f8ebd71d1e7539405f0c5224518c..78714f9a8b1189c8a2db6037ac933fd353b06ef6 100644 (file)
@@ -316,7 +316,7 @@ static void kfd_init_apertures_vi(struct kfd_process_device *pdd, uint8_t id)
 {
        /*
         * node id couldn't be 0 - the three MSB bits of
-        * aperture shoudn't be 0
+        * aperture shouldn't be 0
         */
        pdd->lds_base = MAKE_LDS_APP_BASE_VI();
        pdd->lds_limit = MAKE_LDS_APP_LIMIT(pdd->lds_base);