diff options
author | Yang Li <[email protected]> | 2021-09-26 15:42:12 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-27 13:27:45 +0100 |
commit | 867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a (patch) | |
tree | b0a8cb1ec2b6593aad0ebcc9559ad98fa3816f72 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 4247ef02693716f9df87c37a181b7120c7b24648 (diff) |
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 <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions