diff options
| author | Remi Buisson <remi.buisson@tdk.com> | 2025-11-06 18:31:07 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-11-09 19:52:52 +0300 |
| commit | d16d1c2553248f9b859b86c94344d8b81f0297cd (patch) | |
| tree | cc05614bf6a5ec4309f4f37135726f59d02ca979 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9eb98a05f050be20e60852f8f0ddf34c7e49740d (diff) | |
| download | linux-d16d1c2553248f9b859b86c94344d8b81f0297cd.tar.xz | |
iio: imu: inv_icm45600: Initializes inv_icm45600_buffer_postdisable() sleep
The sleep variable in inv_icm45600_buffer_postdisable() could be used without
being assigned in case of error. It must be initialized to 0 by default.
Fixes: 06674a72cf7a ("iio: imu: inv_icm45600: add buffer support in iio devices")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-iio/aPi6Xw-ZoUkW76zR@stanley.mountain/
Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.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
