Re: [PATCH -next] mfd: altera-sysmgr: Use resource_size function on resource object

From: Lee Jones
Date: Fri Nov 27 2020 - 02:41:01 EST


On Sat, 14 Nov 2020, Zou Wei wrote:

> ./drivers/mfd/altera-sysmgr.c:155:36-39: WARNING: Suspicious code. resource_size is maybe missing with res
>
> Generated by: scripts/coccinelle/api/resource_size.cocci
>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
> ---
> drivers/mfd/altera-sysmgr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog