Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: nintendo: Add missing array termination
joycon_dpad_inputs_jc[] is unterminated. This may result in odd warnings such as input: input_set_capability: invalid code 3077588140 for type 1 or in kernel crashes in nintendo_hid_probe(). Terminate the array to fix the problem. Fixes: 2af16c1 ("HID: nintendo: add nintendo switch controller driver") Cc: Daniel J. Ogorchock <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Reviewed-by: Dmitry Torokhov <[email protected]> Cc: [email protected] Signed-off-by: Jiri Kosina <[email protected]>
- Loading branch information