summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2014-02-18 12:43:53 +0400
committerJiri Kosina <jkosina@suse.cz>2014-02-18 12:43:53 +0400
commit0438ee7080ac83a6a831c52bc4e8c29dc2306e95 (patch)
treebeaf36e342f8619bd4c56f8ab01dade59d0ad567 /drivers/irqchip
parenta47dc4d8cfd226b3ba0bc7daffd107e4b898a165 (diff)
downloadlinux-0438ee7080ac83a6a831c52bc4e8c29dc2306e95.tar.xz
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: fengguang.wu@intel.com Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions