From: Jonathan Corbet <corbet@lwn.net>
To: Manuel Ebner <manuelebnerli@mailbox.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Shuah Khan <skhan@linuxfoundation.org>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
linux-input@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Documentation: input: Fix bracket
Date: Tue, 15 Sep 2026 13:35:16 -0600 [thread overview]
Message-ID: <87zexi71fv.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260905074142.810529-2-manuelebnerli@mailbox.org>
Manuel Ebner <manuelebnerli@mailbox.org> writes:
> Add missing '(' to C snippet.
>
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> ---
> Documentation/input/notifier.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/input/notifier.rst b/Documentation/input/notifier.rst
> index 824379399..e7facd1a1 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;
I've applied this, but this document looks beyond obsolete and in need
of more thorough help...
Thanks,
jon
prev parent reply other threads:[~2026-09-15 19:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-05 7:41 Manuel Ebner
2026-09-15 19:35 ` Jonathan Corbet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zexi71fv.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manuelebnerli@mailbox.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®