[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8735030zvl.fsf@meer.lwn.net>
Date: Mon, 28 Aug 2023 12:45:50 -0600
From: Jonathan Corbet <corbet@....net>
To: Philipp Stanner <pstanner@...hat.com>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Philipp Stanner <pstanner@...hat.com>
Subject: Re: [PATCH] Docu: genericirq.rst: fix irq-example
Philipp Stanner <pstanner@...hat.com> writes:
> A code example was missing the pointer to dereference a variable.
>
> Signed-off-by: Philipp Stanner <pstanner@...hat.com>
> ---
> Documentation/core-api/genericirq.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst
> index f959c9b53f61..4a460639ab1c 100644
> --- a/Documentation/core-api/genericirq.rst
> +++ b/Documentation/core-api/genericirq.rst
> @@ -264,7 +264,7 @@ The following control flow is implemented (simplified excerpt)::
> desc->irq_data.chip->irq_unmask();
> desc->status &= ~pending;
> handle_irq_event(desc->action);
> - } while (status & pending);
> + } while (desc->status & pending);
> desc->status &= ~running;
Applied, thanks.
jon
Powered by blists - more mailing lists