summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-08-28 14:14:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-08-30 10:49:22 +0100
commit3c8bf223469b4db4d63e1dd8bdbde5ffb32d0cba (patch)
treea768a5f30cda5ebb8356207e5c8808fa4747ca48 /virt
parent3068ab202e637d5e46831a2276c3849d97655192 (diff)
iio: sensors-core: st: Check st_sensors_set_drdy_int_pin()'s return value
Value from st_sensors_set_drdy_int_pin() is assigned to err here, but that stored value is not used before it is overwritten. To fix this we're enforcing a check on st_sensors_set_drdy_int_pin()'s return value and if it's an error, we're returning right away. Cc: jic23@kernel.org Cc: linux-iio@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions