selftests: net: fix array_size.cocci warning
authorGuo Zhengkui <guozhengkui@vivo.com>
Sat, 5 Mar 2022 16:18:35 +0000 (00:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2022 12:23:27 +0000 (12:23 +0000)
commit0273d10182ec4507a43b868dd80fd62860b7e948
tree63212563e02f633ec6fc9593833a8ee55234fc4e
parent0c1794c200e943ea95a28c0a8c7eda6b5c004a9d
selftests: net: fix array_size.cocci warning

Fit the following coccicheck warning:
tools/testing/selftests/net/reuseport_bpf_numa.c:89:28-29:
WARNING: Use ARRAY_SIZE.

It has been tested with gcc (Debian 8.3.0-6) 8.3.0 on x86_64.

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/reuseport_bpf_numa.c