diff options
| author | Jose A. Perez de Azpillaga <azpijr@gmail.com> | 2026-03-26 22:34:07 +0100 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-05-20 11:29:31 +0300 |
| commit | 9087395a383212ab1beaefcbe3b57ed131c7823d (patch) | |
| tree | 9323a5d3156e8786f7abbb9a59539d651eeb208d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 79b29f7f26256ad16d2af7a53571c6d2ee2ffd60 (diff) | |
staging: media: atomisp: fix loop shadowing in ia_css_stream_destroy()
The nested loop inside the IS_ISP2401 block incorrectly uses the same
variable 'i' as the outer loop. This shadows the outer loop variable
and causes premature termination or skipped array elements.
Change the inner loop to use a new variable 'j' to prevent this.
Fixes: 113401c67386 ("media: atomisp: sh_css: Removed #ifdef ISP2401 to make code generic")
Signed-off-by: Jose A. Perez de Azpillaga <azpijr@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
