Messages in this thread | | | Date | Thu, 21 Dec 2023 12:43:07 +0100 | Subject | Re: [PATCH v2 4/4] media: mediatek: vcodec: Only free buffer VA that is not NULL | From | AngeloGioacchino Del Regno <> |
| |
Il 21/12/23 10:17, Fei Shao ha scritto: > In the MediaTek vcodec driver, while mtk_vcodec_mem_free() is mostly > called only when the buffer to free exists, there are some instances > that didn't do the check and triggered warnings in practice. > > We believe those checks were forgotten unintentionally. Add the checks > back to fix the warnings. > > Signed-off-by: Fei Shao <fshao@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
| |