From: sashiko-bot@kernel.org
To: "Rahul Priolkar" <rahul.priolkar@asu.edu>
Cc: linux-serial@vger.kernel.org, linux-input@vger.kernel.org,
dmitry.torokhov@gmail.com
Subject: Re: [PATCH] tty: sysrq: serialize sysrq_toggle_support()
Date: Wed, 02 Dec 2026 09:36:14 +0000 [thread overview]
Message-ID: <sashiko-outbox-245318@kernel.org> (raw)
In-Reply-To: <6b0fe37a.fa539071.2f0826.409f@mx.google.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] tty: sysrq: unstripped email preamble and scissors line in
commit message
--
commit 7992cfdce4f708a1da206da163fafa133eba488b
Author: Rahul Priolkar <rahul.priolkar@asu.edu>
> tty: sysrq: serialize sysrq_toggle_support()
>
> Hi,
>
> Thanks for the response. Here's the patch.
>
> -- >8 --
>
> Concurrent enable-mask updates in sysrq_toggle_support() can both
> register the static SysRq input handler, corrupting input_handler_list.
>
> Serialize the mask update and the corresponding handler registration or
> unregistration with a mutex. Both callers run in process context.
>
> Fixes: 97f5f0cd8cd0 ("Input: implement SysRq as a separate input handler")
> Cc: stable@vger.kernel.org
> Signed-off-by: Rahul Priolkar <rahul.priolkar@asu.edu>
[Severity: Low]
This isn't a bug, but the email preamble and "-- >8 --" scissors line
should be stripped from the commit message.
--
Sashiko AI review · https://sashiko.dev/#/patchset/6b0fe37a.fa539071.2f0826.409f@mx.google.com?part=1
next prev parent reply other threads:[~2026-12-02 9:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 8:18 [BUG] tty: sysrq: duplicate input handler registration on v7.4-rc5 Rahul Priolkar
2026-12-02 9:00 ` Greg Kroah-Hartman
2026-12-02 9:23 ` [PATCH] tty: sysrq: serialize sysrq_toggle_support() Rahul Priolkar
2026-12-02 9:36 ` sashiko-bot [this message]
2026-12-02 9:47 ` Greg Kroah-Hartman
2026-12-02 9:57 ` Greg Kroah-Hartman
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=sashiko-outbox-245318@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=rahul.priolkar@asu.edu \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.