diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-06-29 01:47:24 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-03 23:48:53 +0300 |
| commit | e8688b93ce00230614406d189e8286315832469a (patch) | |
| tree | 412c7b71e509de396447332e92dc7bf59b7ef018 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c1a339001191e60f70c4da827569b3bb27500a9a (diff) | |
| download | linux-e8688b93ce00230614406d189e8286315832469a.tar.xz | |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
