diff options
| author | Christophe JAILLET <[email protected]> | 2018-04-08 21:44:01 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-04-15 20:15:55 +0100 |
| commit | 4a5b45383ca371e123ba103d34d4b3b87616245c (patch) | |
| tree | e92925f2dc34b483ad87c77a5fbe6f9502389035 /tools/perf/scripts/python/bin | |
| parent | 4177381b440130ccb686712aaa09b45539114698 (diff) | |
iio: sca3000: Fix an error handling path in 'sca3000_probe()'
Use 'devm_iio_kfifo_allocate()' instead of 'iio_kfifo_allocate()' in order
to simplify code and avoid a memory leak in an error path in
'sca3000_probe()'. A call to 'sca3000_unconfigure_ring()' was missing.
Sent via the next merge window as unimportant bug and there are
other patches dependent on it.
Signed-off-by: Christophe JAILLET <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions