summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>2020-08-07 10:35:30 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-10 14:06:27 +0200
commitf875bcc375c738bf2f599ff2e1c5b918dbd07c45 (patch)
tree99629a389751d6642d5c050ed9c1d871c50925ff /tools/perf/scripts/python/stackcollapse.py
parentf5a3048a840ddf94f651a2694d10aefd6b5f757d (diff)
downloadlinux-f875bcc375c738bf2f599ff2e1c5b918dbd07c45.tar.gz
linux-f875bcc375c738bf2f599ff2e1c5b918dbd07c45.zip
media: uvcvideo: Fix dereference of out-of-bound list iterator
Fixes the following coccinelle report: drivers/media/usb/uvc/uvc_ctrl.c:1860:5-11: ERROR: invalid reference to the index variable of the iterator on line 1854 by adding a boolean variable to check if the loop has found the Found using - Coccinelle (http://coccinelle.lip6.fr) [Replace cursor variable with bool found] Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions