Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] docs: scheduler: completion: Update member of struct completion
@ 2024-08-28 16:50 I Hsin Cheng
  2024-08-31  9:10 ` Kuan-Wei Chiu
  2024-09-05 20:17 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: I Hsin Cheng @ 2024-08-28 16:50 UTC (permalink / raw)
  To: corbet; +Cc: linux-doc, linux-kernel, I Hsin Cheng

The member "wait" in struct completion isn't of type wait_queue_head_t
anymore, as it is now "struct swait_queue_head", fix it to match with
the current implementation.

Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
---
 Documentation/scheduler/completion.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/scheduler/completion.rst b/Documentation/scheduler/completion.rst
index f19aca2062bd..adf0c0a56d02 100644
--- a/Documentation/scheduler/completion.rst
+++ b/Documentation/scheduler/completion.rst
@@ -51,7 +51,7 @@ which has only two fields::
 
 	struct completion {
 		unsigned int done;
-		wait_queue_head_t wait;
+		struct swait_queue_head wait;
 	};
 
 This provides the ->wait waitqueue to place tasks on for waiting (if any), and
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: scheduler: completion: Update member of struct completion
  2024-08-28 16:50 [PATCH] docs: scheduler: completion: Update member of struct completion I Hsin Cheng
@ 2024-08-31  9:10 ` Kuan-Wei Chiu
  2024-09-05 20:17 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Kuan-Wei Chiu @ 2024-08-31  9:10 UTC (permalink / raw)
  To: I Hsin Cheng; +Cc: corbet, linux-doc, linux-kernel

On Thu, Aug 29, 2024 at 12:50:36AM +0800, I Hsin Cheng wrote:
> The member "wait" in struct completion isn't of type wait_queue_head_t
> anymore, as it is now "struct swait_queue_head", fix it to match with
> the current implementation.
> 
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>

LGTM. Feel free to add:

Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>

> ---
>  Documentation/scheduler/completion.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/scheduler/completion.rst b/Documentation/scheduler/completion.rst
> index f19aca2062bd..adf0c0a56d02 100644
> --- a/Documentation/scheduler/completion.rst
> +++ b/Documentation/scheduler/completion.rst
> @@ -51,7 +51,7 @@ which has only two fields::
>  
>  	struct completion {
>  		unsigned int done;
> -		wait_queue_head_t wait;
> +		struct swait_queue_head wait;
>  	};
>  
>  This provides the ->wait waitqueue to place tasks on for waiting (if any), and
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: scheduler: completion: Update member of struct completion
  2024-08-28 16:50 [PATCH] docs: scheduler: completion: Update member of struct completion I Hsin Cheng
  2024-08-31  9:10 ` Kuan-Wei Chiu
@ 2024-09-05 20:17 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2024-09-05 20:17 UTC (permalink / raw)
  To: I Hsin Cheng; +Cc: linux-doc, linux-kernel, I Hsin Cheng

I Hsin Cheng <richard120310@gmail.com> writes:

> The member "wait" in struct completion isn't of type wait_queue_head_t
> anymore, as it is now "struct swait_queue_head", fix it to match with
> the current implementation.
>
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
> ---
>  Documentation/scheduler/completion.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/scheduler/completion.rst b/Documentation/scheduler/completion.rst
> index f19aca2062bd..adf0c0a56d02 100644
> --- a/Documentation/scheduler/completion.rst
> +++ b/Documentation/scheduler/completion.rst
> @@ -51,7 +51,7 @@ which has only two fields::
>  
>  	struct completion {
>  		unsigned int done;
> -		wait_queue_head_t wait;
> +		struct swait_queue_head wait;
>  	};

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-05 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 16:50 [PATCH] docs: scheduler: completion: Update member of struct completion I Hsin Cheng
2024-08-31  9:10 ` Kuan-Wei Chiu
2024-09-05 20:17 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox