Re: [PATCH 1/2] HID: simplify snto32()
From: Benjamin Tissoires
Date: Fri Oct 04 2024 - 08:05:36 EST
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@xxxxxxxxxx>