From: Philipp Stanner Date: Thu, 24 Aug 2023 11:01:09 +0000 (+0200) Subject: Docu: genericirq.rst: fix irq-example X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c63594f2d66690805eb78b75e4b8e8dc9f2672bf;p=linux.git Docu: genericirq.rst: fix irq-example A code example was missing the pointer to dereference a variable. Signed-off-by: Philipp Stanner Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20230824110109.18844-1-pstanner@redhat.com --- diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst index f959c9b53f61b..4a460639ab1ce 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;