aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorFei Shao <fshao@chromium.org>2023-12-21 09:17:46 +0000
committerMauro Carvalho Chehab <mchehab@kernel.org>2024-04-26 11:58:33 +0100
commiteb005c801ec70ff4307727bd3bd6e8280169ef32 (patch)
tree49e3db0fee569dab7f5c816aec26f51def3af0bb /tools/perf/scripts/python/bin/stackcollapse-record
parentmedia: mediatek: vcodec: Update mtk_vcodec_mem_free() error messages (diff)
downloadlinux-eb005c801ec70ff4307727bd3bd6e8280169ef32.tar.gz
linux-eb005c801ec70ff4307727bd3bd6e8280169ef32.zip
media: mediatek: vcodec: Only free buffer VA that is not NULL
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> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions