Docu: genericirq.rst: fix irq-example

A code example was missing the pointer to dereference a variable.

Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230824110109.18844-1-pstanner@redhat.com
This commit is contained in:
Philipp Stanner 2023-08-24 13:01:09 +02:00 committed by Jonathan Corbet
parent 8d58ce1b1e
commit c63594f2d6
1 changed files with 1 additions and 1 deletions

View File

@ -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;