Hi,
Le ven., juin 24 2022 at 09:31:59 +0800, Jiapeng Chong
a écrit :
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.
Signed-off-by: Jiapeng Chong
---
drivers/gpu/drm/ingenic/ingenic-d
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.
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.
Signed-off-by: Jiapeng Chong
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Clean up the following coccicheck warning:
./drivers/gpu/drm/ingenic/ingenic-drm-drv.c:1110:35-38: WARNING:
Suspicious code. resource_size is maybe missing with res.
Reported-by: Abaci Robot
Signed-off-by: Jiapeng Chong
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +-
1 file changed, 1 in