Skip to contentSkip to conversation

habanalabs: Fix spelling mistake "maped" -> "mapped"

PATCH Applied Colin Ian King 2 participants 2 messages Mar 14, 2023 – Mar 15, 2023

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

PATCH 1/1 habanalabs: Fix spelling mistake "maped" -> "mapped"

There is a spelling mistake in a dev_err message. Fix it.

---
 drivers/accel/habanalabs/common/memory_mgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/habanalabs/common/memory_mgr.c +1 -1
index 30f8059f28c2..c4d84df355b0 100644
@@ -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;
Signature · 1 line
2.30.2
maintainer Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 22 lines · Colin Ian King

There is a spelling mistake in a dev_err message. Fix it.

---
 drivers/accel/habanalabs/common/memory_mgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/habanalabs/common/memory_mgr.c +1 -2
index 30f8059f28c2..c4d84df355b0 100644
@@ -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;
--
Quoted 2 lines

2.30.2

Applied to -next
Thanks,
Oded