selftests/vm: ksm_functional_tests: fix a typo in comment
Subsystems (2)
PATCH 1/1 selftests/vm: ksm_functional_tests: fix a typo in comment
From: Xu Panda <[email protected]>
Fix a typo of "comaring" which should be "comparing".
Signed-off-by Xu Panda <[email protected]>
Signed-off-by xu xin <[email protected]>
--- tools/testing/selftests/vm/ksm_functional_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/vm/ksm_functional_tests.c +1 -1
@@ -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);
Signature · 1 line
2.15.2
Quoted 6 lines · On 23.12.22 03:50, [email protected] wrote:
From: Xu Panda <[email protected]>
Fix a typo of "comaring" which should be "comparing".
Signed-off-by Xu Panda <[email protected]>Signed-off-by xu xin <[email protected]>
Two people to fix a typo, wow. :)
Reviewed-by David Hildenbrand <[email protected]>
Signature · 3 lines
Thanks, David / dhildenb