drm/panthor: Fix a couple -ENOMEM error codes
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 2 Apr 2024 09:58:09 +0000 (12:58 +0300)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 3 Apr 2024 07:06:26 +0000 (09:06 +0200)
commitd33733263a550775c7574169f62bf144f74d8f9a
tree9d7692e70e1f1e499c86e4f09c30e083cfdbd3db
parentbe7ffc821f5fc2eb30944562a04901c10892cc7c
drm/panthor: Fix a couple -ENOMEM error codes

These error paths forgot to set the error code to -ENOMEM.

Fixes: 647810ec2476 ("drm/panthor: Add the MMU/VM logical block")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/cf5bbba5-427e-4940-b91e-925f9fa71f8d@moroto.mountain
drivers/gpu/drm/panthor/panthor_mmu.c