diff options
| author | 2014-08-13 11:27:34 +0100 | |
|---|---|---|
| committer | 2014-09-26 08:15:27 +0100 | |
| commit | 374de1642ee4322cc4d6aa1d2679378b8547c368 (patch) | |
| tree | ca61cf9f4f36660b079adf7713037f0c80dc38d1 /include/uapi/linux/errqueue.h | |
| parent | Merge branches 'ib-mfd-arm-3.18', 'ib-mfd-hwmon-leds-watchdog-3.18' and 'ib-mfd-power-charger-regulator-3.18' into ibs-for-mfd-merged (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>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
