forked from Minki/linux
74a96b51a3
An earlier commit hard coded a return 0 to function flexcop_usb_i2c_req
even though the an -EIO was intended to be returned in the case where
ret != buflen. Fix this by replacing the return 0 with the return of
ret to return the error return code.
Addresses-Coverity: ("Unused value")
Fixes:
|
||
---|---|---|
.. | ||
flexcop-usb.c | ||
flexcop-usb.h | ||
Kconfig | ||
Makefile |