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

Oded Gabbay ogabbay at kernel.org
Wed Mar 15 10:19:02 UTC 2023


On Tue, Mar 14, 2023 at 10:18 AM Colin Ian King <colin.i.king at gmail.com> wrote:
>
> There is a spelling mistake in a dev_err message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king at 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 at kernel.org>
Applied to -next
Thanks,
Oded


More information about the dri-devel mailing list