Files
linux-stable-mirror/drivers
Haotian Zhang 987dee1486 HID: playstation: Add missing check for input_ff_create_memless
[ Upstream commit e6807641ac ]

The ps_gamepad_create() function calls input_ff_create_memless()
without verifying its return value,  which can lead to incorrect
behavior or potential crashes when FF effects are triggered.

Add a check for the return value of input_ff_create_memless().

Fixes: 51151098d7 ("HID: playstation: add DualSense classic rumble support.")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:19:37 -05:00
..
2026-01-17 16:39:26 +01:00
2025-12-07 06:12:28 +09:00
2026-01-11 15:19:26 +01:00
2026-01-11 15:18:57 +01:00