Skip to content

Commit 0d0e892

Browse files
roshank8848Hans Verkuil
authored andcommitted
media: atomisp: Fix spelling mistake in hmm_bo.c
codespell reported misspelled unchanged in hmm_bo.c at two places. This patch fixes the misspellings. Signed-off-by: Roshan Khatri <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 5b11fe4 commit 0d0e892

File tree

1 file changed

+2
-2
lines changed
  • drivers/staging/media/atomisp/pci/hmm

1 file changed

+2
-2
lines changed

drivers/staging/media/atomisp/pci/hmm/hmm_bo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,15 @@ static void __bo_take_off_handling(struct hmm_buffer_object *bo)
288288
/* 3. when bo->prev != NULL && bo->next == NULL, bo is not a rbtree
289289
* node, bo is the last element of the linked list after rbtree
290290
* node, to take off this bo, we just need set the "prev/next"
291-
* pointers to NULL, the free rbtree stays unchaged
291+
* pointers to NULL, the free rbtree stays unchanged
292292
*/
293293
} else if (bo->prev && !bo->next) {
294294
bo->prev->next = NULL;
295295
bo->prev = NULL;
296296
/* 4. when bo->prev != NULL && bo->next != NULL ,bo is not a rbtree
297297
* node, bo is in the middle of the linked list after rbtree node,
298298
* to take off this bo, we just set take the "prev/next" pointers
299-
* to NULL, the free rbtree stays unchaged
299+
* to NULL, the free rbtree stays unchanged
300300
*/
301301
} else if (bo->prev && bo->next) {
302302
bo->next->prev = bo->prev;

0 commit comments

Comments
 (0)