summaryrefslogtreecommitdiff
path: root/drivers/accel
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2023-03-14 11:18:12 +0300
committerOded Gabbay <ogabbay@kernel.org>2023-03-20 18:35:25 +0300
commit443355d2ffa595b97e418b6c7df5d237e2e61e73 (patch)
treecadb7dad595125089732b7ebe3283ac2fa3ce00d /drivers/accel
parent79c164372e991203d58db4e880f69e635f858ce6 (diff)
downloadlinux-443355d2ffa595b97e418b6c7df5d237e2e61e73.tar.xz
accel/habanalabs: Fix spelling mistake "maped" -> "mapped"
There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/accel')
-rw-r--r--drivers/accel/habanalabs/common/memory_mgr.c2
1 files changed, 1 insertions, 1 deletions
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;