# Re: \[PATCH\] phy: fix resource\_size.cocci warnings

- From: Vinod Koul \<vkoul@kernel.org\>
- Date: 2021-04-06 05:09:36 
- List: linux-phy
- Page: https://ratatoskr.run/linux-phy/2021/04/6507293
- Thread: https://ratatoskr.run/linux-mm/2021/03/6507038/t.md

```text
On 19-03-21, 07:28, kernel test robot wrote:
> From: kernel test robot <redacted>
> 
> drivers/phy/microchip/sparx5_serdes.c:2440:54-57: ERROR: Missing resource_size with iores
> 
> 
>  Use resource_size function on resource object
>  instead of explicit computation.
> 
> Generated by: scripts/coccinelle/api/resource_size.cocci

Applied, thanks

-- 
~Vinod

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
```
