2022-07-22 10:49:33

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] uapi: asm-generic: fcntl: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
tools/include/uapi/asm-generic/fcntl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/include/uapi/asm-generic/fcntl.h b/tools/include/uapi/asm-generic/fcntl.h
index 0197042b7dfb..826afd9192d8 100644
--- a/tools/include/uapi/asm-generic/fcntl.h
+++ b/tools/include/uapi/asm-generic/fcntl.h
@@ -140,7 +140,7 @@
* record locks, but are "owned" by the open file description, not the
* process. This means that they are inherited across fork() like BSD (flock)
* locks, and they are only released automatically when the last reference to
- * the the open file against which they were acquired is put.
+ * the open file against which they were acquired is put.
*/
#define F_OFD_GETLK 36
#define F_OFD_SETLK 37
--
2.25.1


2022-07-22 12:57:55

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH] uapi: asm-generic: fcntl: Fix typo 'the the' in comment

On Fri, Jul 22, 2022 at 12:31 PM Slark Xiao <[email protected]> wrote:
>
> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <[email protected]>

Applied to the asm-generic tree, thanks!

Arnd