diff options
| author | Kangjie Lu <[email protected]> | 2019-03-08 22:53:55 -0600 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-04-04 20:19:53 +0100 |
| commit | 13814627c9658cf8382dd052bc251ee415670a55 (patch) | |
| tree | 1096799b4f1e422dbb11495ef57ff4656019da51 /tools/perf/scripts/python/bin | |
| parent | d43102f525d9d7a727e086d23e7c27dd665a36d4 (diff) | |
iio: adc: fix a potential NULL pointer dereference
devm_iio_trigger_alloc may fail and return NULL. The fix returns
ENOMEM when it fails.
Signed-off-by: Kangjie Lu <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions