Docu: genericirq.rst: fix irq-example
PATCH 1/1 Docu: genericirq.rst: fix irq-example
A code example was missing the pointer to dereference a variable.
Signed-off-by Philipp Stanner <[email protected]>
--- Documentation/core-api/genericirq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/genericirq.rst +1 -1
@@ -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;
Signature · 1 line
2.40.0
Quoted 12 lines · Philipp Stanner
A code example was missing the pointer to dereference a variable.
Signed-off-by Philipp Stanner <[email protected]>--- Documentation/core-api/genericirq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/core-api/genericirq.rst +0
-0
Documentation/core-api/genericirq.rst The following control flow is implemented (simplified excerpt):: · line 268
Quoted 6 lines
Documentation/core-api/genericirq.rst +1
-1@@ -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;
Applied, thanks.
jon