summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-11-12 17:55:09 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-11-15 20:28:02 +0300
commitb0e6871415b25f5e84a79621834e3d0c9d4627a6 (patch)
tree1b4f5c17ed3f25f7f861c924a14a2586f31e51bf /tools/perf/scripts/python/stackcollapse.py
parentf5d203467a31798191365efeb16cd619d2c8f23a (diff)
downloadlinux-b0e6871415b25f5e84a79621834e3d0c9d4627a6.tar.xz
iio: core: Clean up device correctly on iio_device_alloc() failure
Once we called device_initialize() we have to call put_device() on it. Refactor the code to make it in the right order. Fixes: fe6f45f6ba22 ("iio: core: check return value when calling dev_set_name()") Fixes: 847ec80bbaa7 ("Staging: IIO: core support for device registration and management") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions