summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEthan Tidmore <ethantidmore06@gmail.com>2026-02-24 16:48:16 -0600
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-01 11:20:11 +0000
commit4216db1043a3be72ef9c2b7b9f393d7fa72496e6 (patch)
tree1218683283093fcef27ce8723a97649c4dbdcf41 /tools/perf/scripts/python/stackcollapse.py
parentedb11a1aef4011a4b7b22cc3c3396c6fe371f4a6 (diff)
iio: gyro: mpu3050: Fix irq resource leak
The interrupt handler is setup but only a few lines down if iio_trigger_register() fails the function returns without properly releasing the handler. Add cleanup goto to resolve resource leak. Detected by Smatch: drivers/iio/gyro/mpu3050-core.c:1128 mpu3050_trigger_probe() warn: 'irq' from request_threaded_irq() not released on lines: 1124. Fixes: 3904b28efb2c7 ("iio: gyro: Add driver for the MPU-3050 gyroscope") Reviewed-by: Linus Walleij <linusw@kernel.org> Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Cc: <Stable@vger.kernel.org> 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