aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/patchkey.h
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-10 07:37:33 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-31 11:40:35 -0700
commit213fd2270450f7b5f98803e58bc25063c249e032 (patch)
treef74f3f4548db896173ddd25ccb80abe4c1c0adf9 /include/linux/patchkey.h
parentdrivers/staging/iio: call mutex_unlock in error handling code (diff)
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 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions