2023-07-20 16:01:04

by pangzizhen001

[permalink] [raw]
Subject: [PATCH] include/linux: Fix typos in comments

Delete duplicate word "the"

Signed-off-by: Zizhen Pang <[email protected]>
---
include/linux/seqlock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index e9bd2f65d7f4..af518e4d0c6b 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -864,7 +864,7 @@ static inline unsigned read_seqretry(const seqlock_t
*sl, unsigned start)
}

/*
- * For all seqlock_t write side functions, use the the internal
+ * For all seqlock_t write side functions, use the internal
* do_write_seqcount_begin() instead of generic write_seqcount_begin().
* This way, no redundant lockdep_assert_held() checks are added.
*/


Subject: [tip: locking/core] locking/seqlock: Fix typo in comment

The following commit has been merged into the locking/core branch of tip:

Commit-ID: 0cff993e08a7578e2c1df93a95fc5059f447e7ae
Gitweb: https://git.kernel.org/tip/0cff993e08a7578e2c1df93a95fc5059f447e7ae
Author: [email protected] <[email protected]>
AuthorDate: Thu, 20 Jul 2023 23:45:39 +08:00
Committer: Ingo Molnar <[email protected]>
CommitterDate: Thu, 05 Oct 2023 10:39:44 +02:00

locking/seqlock: Fix typo in comment

s/the the
/the

[ mingo: Cleaned up the changelog. ]

Signed-off-by: Zizhen Pang <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
include/linux/seqlock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index 987a59d..ea7a582 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -864,7 +864,7 @@ static inline unsigned read_seqretry(const seqlock_t *sl, unsigned start)
}

/*
- * For all seqlock_t write side functions, use the the internal
+ * For all seqlock_t write side functions, use the internal
* do_write_seqcount_begin() instead of generic write_seqcount_begin().
* This way, no redundant lockdep_assert_held() checks are added.
*/