aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-06-28 15:47:24 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-07-03 13:48:53 -0700
commite8688b93ce00230614406d189e8286315832469a (patch)
tree412c7b71e509de396447332e92dc7bf59b7ef018 /scripts/stackusage
parentInput: cypress_ps2 - clean up setting reporting rate (diff)
downloadlinux-e8688b93ce00230614406d189e8286315832469a.tar.gz
linux-e8688b93ce00230614406d189e8286315832469a.zip
Input: cypress_ps2 - fix error handling when sending command fails
Stop layering error handling in cypress_ps2_sendbyte() and simply pass on error code from ps2_sendbyte() and use it in the callers. This fixes mishandling of error condition in cypress_ps2_read_cmd_status() which expects errors to be negative. Reported-by: Igor Artemiev <Igor.A.Artemiev@mcst.ru> Link: https://lore.kernel.org/r/20240628224728.2180126-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions