[GIT PULL] HID fixes for 6.7

From: Jiri Kosina
Date: Mon Dec 18 2023 - 19:03:02 EST


Linus,

please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-linus-2023121901

to receive two last-minute fixes that should still go into 6.7;

=====
- fix for division by zero in Nintendo driver when generic joycon is
attached, reported and fixed by SteamOS folks (Guilherme G. Piccoli)
- GCC-7 build fix (which is a good cleanup anyway) for Nintendo driver
(Ryan McClelland)
=====

Thanks.

----------------------------------------------------------------
Guilherme G. Piccoli (1):
HID: nintendo: Prevent divide-by-zero on code

Ryan McClelland (1):
HID: nintendo: fix initializer element is not constant error

drivers/hid/hid-nintendo.c | 71 +++++++++++++++++++++++++++-------------------
1 file changed, 42 insertions(+), 29 deletions(-)

--
Jiri Kosina
SUSE Labs