diff options
author | Chen Ni <[email protected]> | 2024-05-15 11:30:51 +0800 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2024-05-23 14:17:22 +0200 |
commit | 0a3f9f7fc59feb8a91a2793b8b60977895c72365 (patch) | |
tree | afd8329a26af8c85b18ca2f28de87fc1bd35eac1 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 2360497238261f17d4a3f6cbc02d6dbd8951c23c (diff) |
HID: nvidia-shield: Add missing check for input_ff_create_memless
Add check for the return value of input_ff_create_memless() and return
the error if it fails in order to catch the error.
Fixes: 09308562d4af ("HID: nvidia-shield: Initial driver implementation with Thunderstrike support")
Signed-off-by: Chen Ni <[email protected]>
Reviewed-by: Rahul Rameshbabu <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions