Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] errseq: add missing bracket
@ 2026-07-09  9:28 Manuel Ebner
  2026-07-09 16:07 ` Randy Dunlap
  2026-07-10 19:04 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Manuel Ebner @ 2026-07-09  9:28 UTC (permalink / raw)
  To: Matthew Wilcox, Jonathan Corbet, Shuah Khan
  Cc: Manuel Ebner, linux-doc, linux-kernel

Add missing ')' to nested functions of code block.

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
 Documentation/core-api/errseq.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/errseq.rst b/Documentation/core-api/errseq.rst
index ff332e272405..d298d4cd2f60 100644
--- a/Documentation/core-api/errseq.rst
+++ b/Documentation/core-api/errseq.rst
@@ -143,7 +143,7 @@ Because of this, it's often advantageous to first do an errseq_check to
 see if anything has changed, and only later do an
 errseq_check_and_advance after taking the lock. e.g.::
 
-        if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err)) {
+        if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err))) {
                 /* su.s_wd_err is protected by s_wd_err_lock */
                 spin_lock(&su.s_wd_err_lock);
                 err = errseq_check_and_advance(&wd.wd_err, &su.s_wd_err);
-- 
2.54.0


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

* Re: [PATCH] errseq: add missing bracket
  2026-07-09  9:28 [PATCH] errseq: add missing bracket Manuel Ebner
@ 2026-07-09 16:07 ` Randy Dunlap
  2026-07-10 19:04 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-07-09 16:07 UTC (permalink / raw)
  To: Manuel Ebner, Matthew Wilcox, Jonathan Corbet, Shuah Khan
  Cc: linux-doc, linux-kernel



On 7/9/26 2:28 AM, Manuel Ebner wrote:
> Add missing ')' to nested functions of code block.
> 
> Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  Documentation/core-api/errseq.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/core-api/errseq.rst b/Documentation/core-api/errseq.rst
> index ff332e272405..d298d4cd2f60 100644
> --- a/Documentation/core-api/errseq.rst
> +++ b/Documentation/core-api/errseq.rst
> @@ -143,7 +143,7 @@ Because of this, it's often advantageous to first do an errseq_check to
>  see if anything has changed, and only later do an
>  errseq_check_and_advance after taking the lock. e.g.::
>  
> -        if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err)) {
> +        if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err))) {
>                  /* su.s_wd_err is protected by s_wd_err_lock */
>                  spin_lock(&su.s_wd_err_lock);
>                  err = errseq_check_and_advance(&wd.wd_err, &su.s_wd_err);

-- 
~Randy

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

* Re: [PATCH] errseq: add missing bracket
  2026-07-09  9:28 [PATCH] errseq: add missing bracket Manuel Ebner
  2026-07-09 16:07 ` Randy Dunlap
@ 2026-07-10 19:04 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2026-07-10 19:04 UTC (permalink / raw)
  To: Manuel Ebner, Matthew Wilcox, Shuah Khan
  Cc: Manuel Ebner, linux-doc, linux-kernel

Manuel Ebner <manuelebner@mailbox.org> writes:

> Add missing ')' to nested functions of code block.
>
> Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
> ---
>  Documentation/core-api/errseq.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/core-api/errseq.rst b/Documentation/core-api/errseq.rst
> index ff332e272405..d298d4cd2f60 100644
> --- a/Documentation/core-api/errseq.rst
> +++ b/Documentation/core-api/errseq.rst
> @@ -143,7 +143,7 @@ Because of this, it's often advantageous to first do an errseq_check to
>  see if anything has changed, and only later do an
>  errseq_check_and_advance after taking the lock. e.g.::
>  
> -        if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err)) {
> +        if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err))) {
>                  /* su.s_wd_err is protected by s_wd_err_lock */

Applied, thanks.

jon

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

end of thread, other threads:[~2026-07-10 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09  9:28 [PATCH] errseq: add missing bracket Manuel Ebner
2026-07-09 16:07 ` Randy Dunlap
2026-07-10 19:04 ` Jonathan Corbet

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