summaryrefslogtreecommitdiff
path: root/tools/testing/vma/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2026-03-19 01:59:03 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-25 10:25:49 +0100
commita7985d28b3b13cd5e23f4271d702a46532f80424 (patch)
treedb01a3505886a17cdddc35c52c862ee14421a5e6 /tools/testing/vma/include/git@git.tavy.me:linux.git
parentae16c0d6baabcf2b0779a14508a71a0e742552ff (diff)
media: renesas: vsp1: histo: Fix code enumeration
The histogram media bus code enumeration does not check the index when operating on the source pad, resulting in an infinite loop if userspace keeps enumerating code without any loop boundary. Fix it by returning an error for indices larger than 0 as the pad supports a single format. Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # HiHope RZ/G2M Link: https://patch.msgid.link/20260318235907.831556-10-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/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions