aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-05-15 12:56:39 +0300
committerJonathan Cameron <[email protected]>2021-05-17 14:09:49 +0100
commit43fa739450492a0b870802d471de923184870a4c (patch)
treede21d2a97e51822808a3af5f6dd562a29b7c5292 /tools/perf/scripts/python/bin/stackcollapse-record
parent2a1c6a7743d7425afa71f168830f5344240827cd (diff)
iio: core: Fix an error pointer vs NULL bug in devm_iio_device_alloc()
The devm_iio_device_alloc() function is supposed to return NULL and not error pointers. Returning an error pointer will lead to a crash in the callers. Fixes: cf5724e91515 ("iio: core: simplify some devm functions") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/YJ+a1yaMu2QNATgt@mwanda Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions