diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-09-26 15:42:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-27 13:27:45 +0100 |
commit | 867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a (patch) | |
tree | b0a8cb1ec2b6593aad0ebcc9559ad98fa3816f72 /drivers/net/ethernet/ibm/emac/core.c | |
parent | 4247ef02693716f9df87c37a181b7120c7b24648 (diff) | |
download | linux-stable-867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a.tar.gz linux-stable-867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a.tar.bz2 linux-stable-867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a.zip |
net: sparx5: fix resource_size.cocci warnings
Use resource_size function on resource object
instead of explicit computation.
Clean up coccicheck warning:
./drivers/net/ethernet/microchip/sparx5/sparx5_main.c:237:19-22: ERROR:
Missing resource_size with iores [ idx ]
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/core.c')
0 files changed, 0 insertions, 0 deletions