mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] initialize vcodec scalar variable
@ 2025-09-07  9:35 Irui Wang
  2025-09-07  9:35 ` [PATCH v3 1/2] media: mediatek: encoder: Fix uninitialized scalar variable issue Irui Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Irui Wang @ 2025-09-07  9:35 UTC (permalink / raw)
  To: Hans Verkuil, Mauro Carvalho Chehab, Matthias Brugger,
	angelogioacchino.delregno, nicolas.dufresne, Tiffany Lin,
	Yunfei Dong, Qianfeng Rong
  Cc: Maoguang Meng, Longfei Wang, Irui Wang,
	Project_Global_Chrome_Upstream_Group, linux-media, linux-kernel,
	linux-arm-kernel, linux-mediatek

Initialize vcodec structures:
patch 1 add missing initialization to fix the encoder's UNINIT checker
issue.

patch 2 converts memset() to = { } for other vcodec structures.

Changes in v3:
 - Converts memset() to = { }
 - Combined with Qianfeng's patch as v3
 - Link to v2: https://patchwork.linuxtv.org/project/linux-media/patch/20250715081547.18076-1-irui.wang@mediatek.com/
 - Link to Qianfeng's v1: https://patchwork.linuxtv.org/project/linux-media/patch/20250803135514.118892-1-rongqianfeng@vivo.com/

Changes in v2:
 - Add Fixes tag, update commit message
 - Remove unnecessary memset
 - Move memset to before the first usage


Irui Wang (1):
  media: mediatek: encoder: Fix uninitialized scalar variable issue

Qianfeng Rong (1):
  media: mediatek: vcodec: use = { } instead of memset()

 .../mediatek/vcodec/decoder/vdec/vdec_vp9_if.c    |  3 +--
 .../mediatek/vcodec/decoder/vdec_vpu_if.c         | 12 ++++--------
 .../mediatek/vcodec/encoder/mtk_vcodec_enc.c      | 12 +++++-------
 .../mediatek/vcodec/encoder/venc_vpu_if.c         | 15 +++++----------
 4 files changed, 15 insertions(+), 27 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-08 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-07  9:35 [PATCH v3 0/2] initialize vcodec scalar variable Irui Wang
2025-09-07  9:35 ` [PATCH v3 1/2] media: mediatek: encoder: Fix uninitialized scalar variable issue Irui Wang
2025-09-07  9:35 ` [PATCH v3 2/2] media: mediatek: vcodec: use = { } instead of memset() Irui Wang
2025-09-08 12:10 ` [PATCH v3 0/2] initialize vcodec scalar variable AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®