]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7a8a9ccc7248d459dbfb58c767e3800f10143c7
tree63212563e02f633ec6fc9593833a8ee55234fc4e
parentf4157b2bb509da0a45025397469b2d5bd0917a2a
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