Re: [PATCH 2/2] media: mediatek: vcodec: Handle encoder vsi NULL pointer case
From: AngeloGioacchino Del Regno
Date: Mon Oct 02 2023 - 06:49:04 EST
Il 26/09/23 12:19, Irui Wang ha scritto:
There will be a kernel null pointer exception if 'vsi' is NULL, check
'vsi' is not NULL before assign it to encoder instance.
Signed-off-by: Irui Wang <irui.wang@xxxxxxxxxxxx>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>