summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIrui Wang <irui.wang@mediatek.com>2025-09-07 17:35:56 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-01-05 15:56:31 +0100
commit88e935de7cf8795d7a6a51385db87ecb361a7050 (patch)
tree31af27e603993af0a243427d87c8d2456cf156b4 /tools/perf/scripts/python
parent17e1e1641f74a89824d4de3aa38c78daa5686cc1 (diff)
downloadlinux-88e935de7cf8795d7a6a51385db87ecb361a7050.tar.gz
linux-88e935de7cf8795d7a6a51385db87ecb361a7050.zip
media: mediatek: encoder: Fix uninitialized scalar variable issue
UNINIT checker finds some instances of variables that are used without being initialized, for example using the uninitialized value enc_result.is_key_frm can result in unpredictable behavior, so initialize these variables after declaring. Fixes: 4e855a6efa54 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver") Cc: stable@vger.kernel.org Signed-off-by: Irui Wang <irui.wang@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions