]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: atomisp: Fix spelling mistake in hmm_bo.c
authorRoshan Khatri <topofeverest8848@gmail.com>
Sun, 5 May 2024 13:23:44 +0000 (19:08 +0545)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 2 Jul 2024 19:23:14 +0000 (21:23 +0200)
codespell reported misspelled unchanged in hmm_bo.c at two places.
This patch fixes the misspellings.

Signed-off-by: Roshan Khatri <topofeverest8848@gmail.com>
Link: https://lore.kernel.org/r/20240505132345.135528-1-topofeverest8848@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c

index 095cd0ba8c216757b800b9f68f991580690e4773..b90efac771e275dd9ee97ef0a9212929c74cc28e 100644 (file)
@@ -288,7 +288,7 @@ static void __bo_take_off_handling(struct hmm_buffer_object *bo)
                /* 3. when bo->prev != NULL && bo->next == NULL, bo is not a rbtree
                 *      node, bo is the last element of the linked list after rbtree
                 *      node, to take off this bo, we just need set the "prev/next"
-                *      pointers to NULL, the free rbtree stays unchaged
+                *      pointers to NULL, the free rbtree stays unchanged
                 */
        } else if (bo->prev && !bo->next) {
                bo->prev->next = NULL;
@@ -296,7 +296,7 @@ static void __bo_take_off_handling(struct hmm_buffer_object *bo)
                /* 4. when bo->prev != NULL && bo->next != NULL ,bo is not a rbtree
                 *      node, bo is in the middle of the linked list after rbtree node,
                 *      to take off this bo, we just set take the "prev/next" pointers
-                *      to NULL, the free rbtree stays unchaged
+                *      to NULL, the free rbtree stays unchanged
                 */
        } else if (bo->prev && bo->next) {
                bo->next->prev = bo->prev;