]> Git Repo - linux.git/commitdiff
Docu: genericirq.rst: fix irq-example
authorPhilipp Stanner <[email protected]>
Thu, 24 Aug 2023 11:01:09 +0000 (13:01 +0200)
committerJonathan Corbet <[email protected]>
Mon, 28 Aug 2023 18:45:31 +0000 (12:45 -0600)
A code example was missing the pointer to dereference a variable.

Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Documentation/core-api/genericirq.rst

index f959c9b53f61b3a7668378e7240b2e9dd88fdd8e..4a460639ab1cec03ae2cd6ae03dcb4ce0e0dbaa4 100644 (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;
 
 
This page took 0.053595 seconds and 4 git commands to generate.