Re: [PATCH] drm/ingenic: Use resource_size function on resource object

From: Sam Ravnborg
Date: Fri Jun 24 2022 - 13:27:16 EST


Hi Jiapeng,

On Fri, Jun 24, 2022 at 09:31:59AM +0800, Jiapeng Chong wrote:
> This was found by coccicheck:
>
> ./drivers/gpu/drm/ingenic/ingenic-drm-drv.c:1149:35-38: WARNING: Suspicious code. resource_size is maybe missing with res.
>
Nice one, now I have to go back and fix my code as well.

> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx>