Skip to contentSkip to conversation

futex: Fix outdated comment in struct restart_block

PATCH Applied Nam Cao 2 participants 2 messages Apr 28, 2025 – May 8, 2025

lore
Share & tools
lore

Nam Cao

author
#0 lore raw

PATCH 1/1 futex: Fix outdated comment in struct restart_block

Since commit 2070887fdeac ("futex: fix restart in wait_requeue_pi"), futex_wait_requeue_pi() no longer uses restart_block. Update the comment accordingly.

---
 include/linux/restart_block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/restart_block.h +1 -1
index 13f17676c5f4..2d46702e7474 100644
@@ -26,7 +26,7 @@ struct restart_block {
 	unsigned long arch_data;
 	long (*fn)(struct restart_block *);
 	union {
-		/* For futex_wait and futex_wait_requeue_pi */
+		/* For futex_wait */
 		struct {
 			u32 __user *uaddr;
 			u32 val;
Signature · 1 line
2.39.5
merge bot Applied
#1 lore raw
The following commit has been merged into the locking/futex branch of tip:

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

Commit-ID:     01475aedfdfa33a5ee3219079426f5743367c624
Gitweb:        https://git.kernel.org/tip/01475aedfdfa33a5ee3219079426f5743367c624
Author:        Nam Cao <[email protected]>
AuthorDate:    Mon, 28 Apr 2025 21:34:45 +02:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Thu, 08 May 2025 20:29:07 +02:00

futex: Fix outdated comment in struct restart_block

Since commit 2070887fdeac ("futex: fix restart in wait_requeue_pi"), futex_wait_requeue_pi() no longer uses restart_block. Update the comment accordingly.

---
 include/linux/restart_block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/restart_block.h +1 -1
index 13f1767..7e50bbc 100644
@@ -26,7 +26,7 @@ struct restart_block {
 	unsigned long arch_data;
 	long (*fn)(struct restart_block *);
 	union {
-		/* For futex_wait and futex_wait_requeue_pi */
+		/* For futex_wait() */
 		struct {
 			u32 __user *uaddr;
 			u32 val;