From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796204176; b=tm0TYP4GgedwIFgDuVOwTyW5o4vqm92wU2Wk7t/k/StaQGLa//L0T3xh1oPBEIaom+zi JmYsE0NfUIV5DulKtd5inoNZvY0B0dOKJRjVgeN3njPXd+d08h0k6sn/xhp2yZ1sliOr8 DHR9mACiIRVLsUolbpJ9evCHwMx5liI0refNV+pRzMsLmC0tzDhraOZdcuTXxrAaVAA4n WgO3D7i0B/ZDFeYI9CkGDuEy0QqXhyQCjchbFPcuFJVTuA7VbNknhhpqgzbiFvdr4g1ur +s39Bmabz50pjm/baEBKBIHbuXPqf2oxfAhK3Bl4s2QkkQb8uhmGZCy+JL6AhbCbznw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796204176; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Nt5Yf46ooAymS30IU+guJUYeVC0KZa8OWm26texcNRc=; b=Vb2IdbISzthMHfNnlAI34n0vliYqQr7wtuwvXsYiIXLk+ujpWuFJpo6RkzuHY/HpRxeh Sm1xa8Nxu3YCN9b6kFoOPfVkEDvjnwN029ni7gnAQzGdHG44JYQbXsQg3ZL0rbjfxGz4k +GA1dBISApRkmnUMfHRDeetH9UvnEO7Jbz4oCsyoaeRSh6QeOrAXD63VYOoCF7Nj50Jly NNon0J7UaWomFPw4VrqF6X3cuSv9DNolotckaaL9kKkNaAf6EaKPCFYYpsua5J2DCKx+M afhDufNgocJQvg8kaTWOtX1qo2TQMAQ1zRgjldhyMA5ScFw3wtroI3QpRSiKUmLcLuQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lOcKOniG; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C484606A31A; Wed, 2 Dec 2026 09:36:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lOcKOniG Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50C981F0089B; Wed, 2 Dec 2026 09:36:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796204175; bh=Nt5Yf46ooAymS30IU+guJUYeVC0KZa8OWm26texcNRc=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=lOcKOniGhMjV6BTVSehhF44d8DSrZp4mJ2otFdfu+DdxZCjCykhpgKC/1wZPeUrm8 hyZ9/2EwziIZJ4C7hYltYCa8b9OYnE3WQ6MvVCpMFh9nCVGsoh1nP/cMEjM9bRUsOD 8kk1710uss7jDFIOqPxcIQPwEJ3c9rg0byZ+dGIJlQ9c2TTuXgWJeFUlvb7RPBNYRX 5fHYeVefoboAl1zzix5DdYAUAJYC2In5lY6vS76uPwEn1XhROOjMYQrT6f9XDvr4lH EF6KhMtj2H5M0Oe0dHXv7Q7RJeCXKaMJ/cm6FPkO8fPw51gTrhMVwySvhyGb6DB+GN 7w4QeOrT3DDig== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] tty: sysrq: serialize sysrq_toggle_support() Reply-To: sashiko-reviews@lists.linux.dev To: "Rahul Priolkar" Cc: linux-serial@vger.kernel.org, linux-input@vger.kernel.org, dmitry.torokhov@gmail.com In-Reply-To: <6b0fe37a.fa539071.2f0826.409f@mx.google.com> References: <2026120242-corridor-chase-3d79@gregkh> <6b0fe37a.fa539071.2f0826.409f@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 09:36:14 +0000 X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 > 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 [Severity: Low] This isn't a bug, but the email preamble and "-- >8 --" scissors line should be stripped from the commit message. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/6b0fe37a.fa539071.2= f0826.409f@mx.google.com?part=3D1