drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages
authorColin Ian King <colin.i.king@gmail.com>
Mon, 22 May 2023 09:02:52 +0000 (10:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:45:43 +0000 (10:45 -0400)
There are a couple of spelling mistakes, one in a dev_info message
and the other in a dev_debug message. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c

index 59b8b26e2caf2790be7f02913883ea0cd563b638..789cc16e1be7ee58ba5aaca92d97477441c5e161 100644 (file)
@@ -1007,7 +1007,7 @@ int psp_spatial_partition(struct psp_context *psp, int mode)
        cmd->cmd_id = GFX_CMD_ID_SRIOV_SPATIAL_PART;
        cmd->cmd.cmd_spatial_part.mode = mode;
 
-       dev_info(psp->adev->dev, "Requesting %d paritions through PSP", mode);
+       dev_info(psp->adev->dev, "Requesting %d partitions through PSP", mode);
        ret = psp_cmd_submit_buf(psp, NULL, cmd, psp->fence_buf_mc_addr);
 
        release_psp_cmd_buf(psp);
index daeb6bcc9245a033d62e783ef8d13881b7ac52dd..e9586a0dc335d1c64fb493af57484b33231e175c 100644 (file)
@@ -359,7 +359,7 @@ int amdgpu_xcp_open_device(struct amdgpu_device *adev,
                                                file_priv->minor->index, i);
                                return -ENOENT;
                        }
-                       dev_dbg(adev->dev, "renderD%d partition %d openned!",
+                       dev_dbg(adev->dev, "renderD%d partition %d opened!",
                                        file_priv->minor->index, i);
                        fpriv->xcp_id = i;
                        break;