Documentation: input: Fix bracket
Subsystems (3)
PATCH 1/1 Documentation: input: Fix bracket
Add missing '(' to C snippet.
Signed-off-by Manuel Ebner <[email protected]>
--- Documentation/input/notifier.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/input/notifier.rst +1 -1
@@ -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;
Signature · 1 line
2.54.0
Jonathan Corbet
maintainerQuoted 12 lines · Manuel Ebner
Add missing '(' to C snippet.
Signed-off-by Manuel Ebner <[email protected]>--- Documentation/input/notifier.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/input/notifier.rst +0
-0
Documentation/input/notifier.rst In a rough C snippet, we have:: · line 37
Quoted 8 lines
Documentation/input/notifier.rst +1
-1@@ -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;
I've applied this, but this document looks beyond obsolete and in need of more thorough help...
Thanks,
jon