Re: [PATCH v3] media: atomisp: fix spelling mistake

From: Dan Carpenter

Date: Mon Mar 23 2026 - 13:34:05 EST


On Mon, Mar 23, 2026 at 03:11:43PM +0100, Mohammed EL Kadiri wrote:
> diff --git a/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c b/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
> index 856561e951a5..a6eab5f52b75 100644
> --- a/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
> +++ b/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
> @@ -434,7 +434,7 @@ void hmm_bo_release(struct hmm_buffer_object *bo)
> /*
> * FIX ME:
> *
> - * how to destroy the bo when it is stilled MMAPED?
> + * how to destroy the bo when it is stilled MAPPED?


MMAPPED was correct. It means memory mapped.

> *
> * ideally, this will not happened as hmm_bo_release
> * will only be called when kref reaches 0, and in mmap
> @@ -443,7 +443,7 @@ void hmm_bo_release(struct hmm_buffer_object *bo)
> */
> if (bo->status & HMM_BO_MMAPED) {
> mutex_unlock(&bdev->rbtree_mutex);
> - dev_dbg(atomisp_dev, "destroy bo which is MMAPED, do nothing\n");
> + dev_dbg(atomisp_dev, "destroy bo which is MAPPED, do nothing\n");

Same.

> return;
> }
>

(always wait a day between resending a patch in case other people have
feedback).

regards,
dan carpenter