Skip to content

initialize vcodec scalar variable

Irui Wang linux-arm-kernel linux-media linux-mediatek lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v21 patch 4 repliesSuperseded

Changes in v3 from the cover letter

- Converts memset() to = { }
- Combined with Qianfeng's patch as v3
- Link to v2: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
- Link to Qianfeng's v1: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: mediatek: encoder: Fix uninitialized scalar variable issuedrivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c+3 -30 replies
2/2media: mediatek: vcodec: use = { } instead of memset()drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c +1 more+12 -240 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAngeloGioacchino Del Regno
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] initialize vcodec scalar variable

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/[email protected]/
- Link to Qianfeng's v1: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/

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(-)
Signature · 1 line
2.45.2