Commit c63594f2 authored by Philipp Stanner's avatar Philipp Stanner Committed by Jonathan Corbet

Docu: genericirq.rst: fix irq-example

A code example was missing the pointer to dereference a variable.
Signed-off-by: default avatarPhilipp Stanner <pstanner@redhat.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230824110109.18844-1-pstanner@redhat.com
parent 8d58ce1b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment