Messages in this thread |  | | From | Irui Wang <> | | Subject | [PATCH v3 0/2] initialize vcodec scalar variable | | Date | Sun, 7 Sep 2025 17:35:55 +0800 |
| |
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
|  |