Skip to content

Commit

Permalink
Docu: genericirq.rst: fix irq-example
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Philipp Stanner authored and Jonathan Corbet committed Aug 28, 2023
1 parent 8d58ce1 commit c63594f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/core-api/genericirq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down

0 comments on commit c63594f

Please sign in to comment.