* [PATCH] Docu: genericirq.rst: fix irq-example
@ 2023-08-24 11:01 Philipp Stanner
2023-08-28 18:45 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Philipp Stanner @ 2023-08-24 11:01 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel, Philipp Stanner
A code example was missing the pointer to dereference a variable.
Signed-off-by: Philipp Stanner <pstanner@redhat.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;
--
2.40.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Docu: genericirq.rst: fix irq-example
2023-08-24 11:01 [PATCH] Docu: genericirq.rst: fix irq-example Philipp Stanner
@ 2023-08-28 18:45 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2023-08-28 18:45 UTC (permalink / raw)
To: Philipp Stanner; +Cc: linux-doc, linux-kernel, Philipp Stanner
Philipp Stanner <pstanner@redhat.com> writes:
> A code example was missing the pointer to dereference a variable.
>
> Signed-off-by: Philipp Stanner <pstanner@redhat.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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-28 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24 11:01 [PATCH] Docu: genericirq.rst: fix irq-example Philipp Stanner
2023-08-28 18:45 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox