Skip to contentSkip to conversation

selftests/core: Fix double word in close_range_test.c

PATCH New Shaomin Deng 1 participant 1 message Oct 29, 2022 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/core: Fix double word in close_range_test.c

Remove the repeated word "and" in comments.

---
 tools/testing/selftests/core/close_range_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/core/close_range_test.c +1 -1
index 749239930ca8..4db5ec73d016 100644
@@ -476,7 +476,7 @@ TEST(close_range_cloexec_unshare_syzbot)
 
 	/*
 	 * Create a huge gap in the fd table. When we now call
-	 * CLOSE_RANGE_UNSHARE with a shared fd table and and with ~0U as upper
+	 * CLOSE_RANGE_UNSHARE with a shared fd table and with ~0U as upper
 	 * bound the kernel will only copy up to fd1 file descriptors into the
 	 * new fd table. If the kernel is buggy and doesn't handle
 	 * CLOSE_RANGE_CLOEXEC correctly it will not have copied all file
Signature · 1 line
2.35.1