summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2026-05-12 02:56:34 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-07-31 09:47:07 +0200
commit31152f5b0f8719f92063b8c6196cd5e34106c73d (patch)
tree6fbe15dba77a50b65e8208d06f04657066ae61b3 /tools/perf/scripts/python/task-analyzer.py
parent284a6530a4e9dd19edaaafdd0398945fc54b0601 (diff)
media: renesas: vsp1: Declare index variables in for loop statement
Using loop indices outside of the loop is a source of out-of-bounds accesses and other bugs. It is important to carefully review those usages. To make them stand out, declare all loop index variables that are not used outside of the loop inside the loop statement. No functional change intended. Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://patch.msgid.link/20260511235637.3468558-11-laurent.pinchart+renesas@ideasonboard.com Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions