lkml.org 
[lkml]   [2025]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] initialize vcodec scalar variable
Date
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


\
 
 \ /
  Last update: 2025-09-07 11:36    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog