From: Benjamin Tissoires <bentiss@kernel.org>
To: Jiri Kosina <jikos@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: "Filipe Laíns" <lains@riseup.net>,
"Bastien Nocera" <hadess@hadess.net>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] HID: simplify snto32()
Date: Fri, 04 Oct 2024 14:05:12 +0200 [thread overview]
Message-ID: <172804351288.292746.16655039610911027501.b4-ty@kernel.org> (raw)
In-Reply-To: <20241003144656.3786064-1-dmitry.torokhov@gmail.com>
On Thu, 03 Oct 2024 07:46:50 -0700, Dmitry Torokhov wrote:
> snto32() does exactly what sign_extend32() does, but handles
> potentially malformed data coming from the device. Keep the checks,
> but then call sign_extend32() to perform the actual conversion.
>
>
Applied to hid/hid.git (for-6.13/core), thanks!
[1/2] HID: simplify snto32()
https://git.kernel.org/hid/hid/c/ae9b956cb26c
[2/2] HID: stop exporting hid_snto32()
https://git.kernel.org/hid/hid/c/c653ffc28340
Cheers,
--
Benjamin Tissoires <bentiss@kernel.org>
prev parent reply other threads:[~2024-10-04 12:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-03 14:46 Dmitry Torokhov
2024-10-03 14:46 ` [PATCH 2/2] HID: stop exporting hid_snto32() Dmitry Torokhov
2024-10-04 12:05 ` Benjamin Tissoires [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=172804351288.292746.16655039610911027501.b4-ty@kernel.org \
--to=bentiss@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hadess@hadess.net \
--cc=jikos@kernel.org \
--cc=lains@riseup.net \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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®