Skip to content

Commit c63594f

Browse files
Philipp StannerJonathan Corbet
authored andcommitted
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
1 parent 8d58ce1 commit c63594f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/core-api/genericirq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ The following control flow is implemented (simplified excerpt)::
264264
desc->irq_data.chip->irq_unmask();
265265
desc->status &= ~pending;
266266
handle_irq_event(desc->action);
267-
} while (status & pending);
267+
} while (desc->status & pending);
268268
desc->status &= ~running;
269269

270270

0 commit comments

Comments
 (0)