[PATCH] drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Dec 5 11:52:54 UTC 2022
Il 05/12/22 10:51, ruanjinjie ha scritto:
> As the devm_kcalloc may return NULL, the return value needs to be checked
> to avoid NULL poineter dereference.
>
> Fixes: 31c5558dae05 ("drm/mediatek: Refactor plane init")
> Signed-off-by: ruanjinjie <ruanjinjie at huawei.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the dri-devel
mailing list