diff options
| author | Cristina Moraru <cristina.moraru09@gmail.com> | 2015-10-25 23:31:41 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 14:49:09 +0900 |
| commit | 31a99443a53aa65cdaaaaa3bcd5ed685eec87419 (patch) | |
| tree | c2708fe49680cb1af84f2ad8b4e2870c71208873 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 1c58f0eb9cd48c8b3426df1b073da796623c2b45 (diff) | |
staging: iio: adis16060_core: Fix error handling
We need to check adis16060_spi_read return code to avoid feeding user
space with bogus data.
While, at it introduce out_unlock label in order to simplify locking
on error path.
Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
