* [PATCH linux-next] selftests/vm: ksm_functional_tests: fix a typo in comment
@ 2022-12-23 2:50 yang.yang29
2022-12-23 11:36 ` David Hildenbrand
0 siblings, 1 reply; 2+ messages in thread
From: yang.yang29 @ 2022-12-23 2:50 UTC (permalink / raw)
To: akpm; +Cc: shuah, linux-mm, linux-kselftest, linux-kernel, xu.panda, xu.xin16
From: Xu Panda <xu.panda@zte.com.cn>
Fix a typo of "comaring" which should be "comparing".
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
---
tools/testing/selftests/vm/ksm_functional_tests.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/vm/ksm_functional_tests.c b/tools/testing/selftests/vm/ksm_functional_tests.c
index b11b7e5115dc..d8b5b4930412 100644
--- a/tools/testing/selftests/vm/ksm_functional_tests.c
+++ b/tools/testing/selftests/vm/ksm_functional_tests.c
@@ -37,7 +37,7 @@ static bool range_maps_duplicates(char *addr, unsigned long size)
/*
* There is no easy way to check if there are KSM pages mapped into
* this range. We only check that the range does not map the same PFN
- * twice by comaring each pair of mapped pages.
+ * twice by comparing each pair of mapped pages.
*/
for (offs_a = 0; offs_a < size; offs_a += pagesize) {
pfn_a = pagemap_get_pfn(pagemap_fd, addr + offs_a);
--
2.15.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH linux-next] selftests/vm: ksm_functional_tests: fix a typo in comment
2022-12-23 2:50 [PATCH linux-next] selftests/vm: ksm_functional_tests: fix a typo in comment yang.yang29
@ 2022-12-23 11:36 ` David Hildenbrand
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2022-12-23 11:36 UTC (permalink / raw)
To: yang.yang29, akpm
Cc: shuah, linux-mm, linux-kselftest, linux-kernel, xu.panda, xu.xin16
On 23.12.22 03:50, yang.yang29@zte.com.cn wrote:
> From: Xu Panda <xu.panda@zte.com.cn>
>
> Fix a typo of "comaring" which should be "comparing".
>
> Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
> Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Two people to fix a typo, wow. :)
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-23 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 2:50 [PATCH linux-next] selftests/vm: ksm_functional_tests: fix a typo in comment yang.yang29
2022-12-23 11:36 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox