summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-09-26 10:42:12 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-27 15:27:45 +0300
commit867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a (patch)
treeb0a8cb1ec2b6593aad0ebcc9559ad98fa3816f72 /scripts/const_structs.checkpatch
parent4247ef02693716f9df87c37a181b7120c7b24648 (diff)
downloadlinux-867d1ac99f11e4d03ecf00ebfe7c65baf7d3927a.tar.xz
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions