diff options
author | Maximilian Weigand <mweigand@mweigand.net> | 2023-05-01 17:07:49 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-01 17:30:31 -0700 |
commit | 529de2f1ca3f0898c0d905b7d355a43dce1de7dc (patch) | |
tree | f4ec796541ef4336644bb24281636134a0fa8250 /lib/net_utils.c | |
parent | 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e (diff) |
Input: cyttsp5 - fix array length
The cmd array should be initialized with the proper command size and not
with the actual command value that is sent to the touchscreen.
Signed-off-by: Maximilian Weigand <mweigand@mweigand.net>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20230501113010.891786-2-mweigand@mweigand.net
Fixes: 5b0c03e24a06 ("Input: Add driver for Cypress Generation 5 touchscreen")
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions