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

Mike Rapoport posted 1 patch 1 year, 2 months ago
mm/kmemleak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm/kmemleak: fix typo in object_no_scan() comment
Posted by Mike Rapoport 1 year, 2 months ago
From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>

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

Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
---
 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