Re: [PATCH] drm/imagination: Fix reference to devm_platform_get_and_ioremap_resource()

From: Matt Coster

Date: Thu Oct 30 2025 - 08:13:05 EST


Hi Geert,

On 29/10/2025 15:00, Geert Uytterhoeven wrote:
> The call to devm_platform_ioremap_resource() was replaced by a call to
> devm_platform_get_and_ioremap_resource(), but the comment referring to
> the function's possible returned error codes was not updated.
>
> Fixes: 927f3e0253c11276 ("drm/imagination: Implement MIPS firmware processor and MMU support")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Thanks for the fix!

Reviewed-by: Matt Coster <matt.coster@xxxxxxxxxx>

I'll apply this to drm-misc-fixes shortly.

Cheers,
Matt

> ---
> drivers/gpu/drm/imagination/pvr_device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/imagination/pvr_device.c b/drivers/gpu/drm/imagination/pvr_device.c
> index 294b6019b4155bb7..78d6b8a0a4506c80 100644
> --- a/drivers/gpu/drm/imagination/pvr_device.c
> +++ b/drivers/gpu/drm/imagination/pvr_device.c
> @@ -48,7 +48,7 @@
> *
> * Return:
> * * 0 on success, or
> - * * Any error returned by devm_platform_ioremap_resource().
> + * * Any error returned by devm_platform_get_and_ioremap_resource().
> */
> static int
> pvr_device_reg_init(struct pvr_device *pvr_dev)

--
Matt Coster
E: matt.coster@xxxxxxxxxx

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature