[PATCH v2] drm/mediatek: Fix potential memory leak if vmap() fail
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Jul 27 02:22:40 PDT 2023
Il 06/07/23 15:40, Sui Jingfeng ha scritto:
> Also return -ENOMEM if such a failure happens, the implement should take
> responsibility for the error handling.
>
> Fixes: 3df64d7b0a4f ("drm/mediatek: Implement gem prime vmap/vunmap function")
> Reviewed-by: Matthias Brugger <matthias.bgg at gmail.com>
> Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>
> Signed-off-by: Sui Jingfeng <suijingfeng at loongson.cn>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list