diff options
| author | Manuel Ebner <manuelebnerli@mailbox.org> | 2026-09-05 09:41:42 +0200 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-09-15 13:34:14 -0600 |
| commit | 2bed2f65647529527410a3131afef31b49180312 (patch) | |
| tree | 094a0d9acf50da68889158e4829af8c1464bb5b1 /Documentation/input | |
| parent | be3d025c3c0ddcb2bf55948ffffacacd1f1f342c (diff) | |
| download | linux-next-2bed2f65647529527410a3131afef31b49180312.tar.gz linux-next-2bed2f65647529527410a3131afef31b49180312.zip | |
Documentation: input: Fix bracket
Add missing '(' to C snippet.
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260905074142.810529-2-manuelebnerli@mailbox.org>
Diffstat (limited to 'Documentation/input')
| -rw-r--r-- | Documentation/input/notifier.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/input/notifier.rst b/Documentation/input/notifier.rst index 824379399e61..e7facd1a1003 100644 --- a/Documentation/input/notifier.rst +++ b/Documentation/input/notifier.rst @@ -31,7 +31,7 @@ In a rough C snippet, we have:: kbd_keycode(keycode) { ... params.value = keycode; - if (notifier_call_chain(KBD_KEYCODE,¶ms) == NOTIFY_STOP) + if ((notifier_call_chain(KBD_KEYCODE,¶ms) == NOTIFY_STOP) || !bound) { notifier_call_chain(KBD_UNBOUND_KEYCODE,¶ms); return; |
