Linux-mediatek Archive mirror
 help / color / mirror / Atom feed
From: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
To: tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com,
	yunfei.dong@mediatek.com, mchehab@kernel.org,
	matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
	hverkuil+cisco@kernel.org, laurent.pinchart@ideasonboard.com,
	p.zabel@pengutronix.de, benjamin.gaignard@collabora.com,
	nicolas@ndufresne.ca
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Subject: [PATCH 0/4] media: mediatek: vcodec: VP9 slice setup cleanups and fixes
Date: Wed,  6 May 2026 16:41:59 +0800	[thread overview]
Message-ID: <20260506084203.202882-1-lihaoxiang@isrc.iscas.ac.cn> (raw)

Patches 1 and 2 change the signatures of two functions to void, removing
the now-unnecessary return value and its associated dead error checks.
Patches 3 and 4 add missing memory release operations in error paths,
fixing resource leaks.

These patches are carried out under the guidance of Nicolas Dufresne.
Thanks, Nicolas!

Haoxiang Li (4):
  media: mediatek: vcodec: remove redundant return value of
    vdec_vp9_slice_setup_lat_buffer()
  media: mediatek: vcodec: remove redundant return value of
    vdec_vp9_slice_setup_prob_buffer()
  media: mediatek: vcodec: free working buf on error path in
    vdec_vp9_slice_setup_lat()
  media: mediatek: vcodec: free working buf in
    vdec_vp9_slice_setup_single()

 .../vcodec/decoder/vdec/vdec_vp9_req_lat_if.c | 29 +++++++------------
 1 file changed, 11 insertions(+), 18 deletions(-)

-- 
2.25.1



             reply	other threads:[~2026-05-06  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06  8:41 Haoxiang Li [this message]
2026-05-06  8:42 ` [PATCH 1/4] media: mediatek: vcodec: remove redundant return value of vdec_vp9_slice_setup_lat_buffer() Haoxiang Li
2026-05-06  8:42 ` [PATCH 2/4] media: mediatek: vcodec: remove redundant return value of vdec_vp9_slice_setup_prob_buffer() Haoxiang Li
2026-05-06  8:42 ` [PATCH 3/4] media: mediatek: vcodec: free working buf on error path in vdec_vp9_slice_setup_lat() Haoxiang Li
2026-05-06  8:42 ` [PATCH 4/4] media: mediatek: vcodec: free working buf in vdec_vp9_slice_setup_single() Haoxiang Li
2026-05-06 15:02 ` [PATCH 0/4] media: mediatek: vcodec: VP9 slice setup cleanups and fixes Nicolas Dufresne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260506084203.202882-1-lihaoxiang@isrc.iscas.ac.cn \
    --to=lihaoxiang@isrc.iscas.ac.cn \
    --cc=andrew-ct.chen@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=benjamin.gaignard@collabora.com \
    --cc=hverkuil+cisco@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mchehab@kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=p.zabel@pengutronix.de \
    --cc=tiffany.lin@mediatek.com \
    --cc=yunfei.dong@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).