diff mbox series

[next] habanalabs: Fix spelling mistake "maped" -> "mapped"

Message ID 20230314081812.26065-1-colin.i.king@gmail.com (mailing list archive)
State New, archived
Headers show
Series [next] habanalabs: Fix spelling mistake "maped" -> "mapped" | expand

Commit Message

Colin Ian King March 14, 2023, 8:18 a.m. UTC
There is a spelling mistake in a dev_err message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/accel/habanalabs/common/memory_mgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Oded Gabbay March 15, 2023, 10:19 a.m. UTC | #1
On Tue, Mar 14, 2023 at 10:18 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a dev_err message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/accel/habanalabs/common/memory_mgr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/accel/habanalabs/common/memory_mgr.c b/drivers/accel/habanalabs/common/memory_mgr.c
> index 30f8059f28c2..c4d84df355b0 100644
> --- a/drivers/accel/habanalabs/common/memory_mgr.c
> +++ b/drivers/accel/habanalabs/common/memory_mgr.c
> @@ -275,7 +275,7 @@ int hl_mem_mgr_mmap(struct hl_mem_mgr *mmg, struct vm_area_struct *vma,
>
>         if (atomic_cmpxchg(&buf->mmap, 0, 1)) {
>                 dev_err(mmg->dev,
> -                       "%s, Memory mmap failed, already maped to user\n",
> +                       "%s, Memory mmap failed, already mapped to user\n",
>                         buf->behavior->topic);
>                 rc = -EINVAL;
>                 goto put_mem;
> --
> 2.30.2
>

Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Applied to -next
Thanks,
Oded
diff mbox series

Patch

diff --git a/drivers/accel/habanalabs/common/memory_mgr.c b/drivers/accel/habanalabs/common/memory_mgr.c
index 30f8059f28c2..c4d84df355b0 100644
--- a/drivers/accel/habanalabs/common/memory_mgr.c
+++ b/drivers/accel/habanalabs/common/memory_mgr.c
@@ -275,7 +275,7 @@  int hl_mem_mgr_mmap(struct hl_mem_mgr *mmg, struct vm_area_struct *vma,
 
 	if (atomic_cmpxchg(&buf->mmap, 0, 1)) {
 		dev_err(mmg->dev,
-			"%s, Memory mmap failed, already maped to user\n",
+			"%s, Memory mmap failed, already mapped to user\n",
 			buf->behavior->topic);
 		rc = -EINVAL;
 		goto put_mem;