[PATCH v2] drm/mediatek: Fix potential memory leak if vmap() fail
suijingfeng
suijingfeng at loongson.cn
Thu Jul 27 02:56:13 PDT 2023
Hi,
On 2023/7/27 17:22, AngeloGioacchino Del Regno wrote:
> 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>
Yeah! I got so many R-B!
So surprise, So happy!
Hopefully someone will merge/apply this patch someday, thanks.
More information about the Linux-mediatek
mailing list