diff options
| author | Jiri Kosina <[email protected]> | 2014-02-18 08:43:53 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2014-02-18 08:43:53 +0000 |
| commit | 0438ee7080ac83a6a831c52bc4e8c29dc2306e95 (patch) | |
| tree | beaf36e342f8619bd4c56f8ab01dade59d0ad567 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | HID: cp2112: can't be used without gpio support (diff) | |
| download | kernel-0438ee7080ac83a6a831c52bc4e8c29dc2306e95.tar.gz kernel-0438ee7080ac83a6a831c52bc4e8c29dc2306e95.zip | |
HID: cp2112: fix incorrect error propagation in cp2112_xfer()
Both cp2112_read_req() and cp2112_write_req() are returning negative
value in cases of error, but cp2112_xfer() is storing the return
value into unsigned size_t-typed 'count'.
Fix this by making 'count' signed type.
Reported-by: [email protected]
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
