[PATCH] mm/kmemleak: fix typo in object_no_scan() comment

From: Mike Rapoport
Date: Thu Oct 10 2024 - 11:55:25 EST


From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>

Replace "corresponding to the give pointer" with "corresponding to the
given pointer"

Signed-off-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
---
mm/kmemleak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index 0400f5e8ac60..17006d8a2afa 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -1011,7 +1011,7 @@ static void object_set_excess_ref(unsigned long ptr, unsigned long excess_ref)
}

/*
- * Set the OBJECT_NO_SCAN flag for the object corresponding to the give
+ * Set the OBJECT_NO_SCAN flag for the object corresponding to the given
* pointer. Such object will not be scanned by kmemleak but references to it
* are searched.
*/
--
2.43.0