summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-10 05:37:33 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-31 18:40:35 (GMT)
commit213fd2270450f7b5f98803e58bc25063c249e032 (patch)
treef74f3f4548db896173ddd25ccb80abe4c1c0adf9 /ipc
parentd1ae4da731a6e049a675097ebfd9a02b9b50530e (diff)
downloadlinux-fsl-qoriq-213fd2270450f7b5f98803e58bc25063c249e032.tar.xz
Staging: iio: signedness bug
i2c_smbus_read_byte_data() returns an s32 type. We need to change "rate" to signed for the error handling to work. Also I changed it to propogate the error code instead of just returning -EINVAL. Other error codes could be -EAGAIN for example. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions