diff options
author | Laurent Pinchart <[email protected]> | 2022-07-18 13:56:54 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-08-30 16:05:00 +0200 |
commit | c58874df1051c2baee8dabb8c476c3e476923923 (patch) | |
tree | afcef942c9ac49c9efc48bbd5833a0e0a2bf6c02 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f0f078457f18f10696888f8d0e6aba9deb9cde92 (diff) |
media: uvcvideo: Use indexed loops in uvc_ctrl_init_ctrl()
As shown by the bug introduced in commit 86f7ef773156 ("media: uvcvideo:
Add support for per-device control mapping overrides"), the loop style
used by uvc_ctrl_init_ctrl() is error-prone. Rewrite the loops to use
indices instead.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions