summaryrefslogtreecommitdiff
path: root/drivers/atm/eni.c
diff options
context:
space:
mode:
authorGuo Zhengkui <guozhengkui@vivo.com>2022-03-16 12:28:57 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-03-17 17:21:16 +0300
commit1abea24af42c35c6eb537e4402836e2cde2a5b13 (patch)
tree431b689970b3d514588729d863cca40a4d1eaf7a /drivers/atm/eni.c
parent58e06d05d43a9e37e121edabaada00a9d844444c (diff)
downloadlinux-1abea24af42c35c6eb537e4402836e2cde2a5b13.tar.xz
selftests: net: fix array_size.cocci warning
Fix array_size.cocci warning in tools/testing/selftests/net. Use `ARRAY_SIZE(arr)` instead of forms like `sizeof(arr)/sizeof(arr[0])`. It has been tested with gcc (Debian 8.3.0-6) 8.3.0. Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com> Link: https://lore.kernel.org/r/20220316092858.9398-1-guozhengkui@vivo.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/atm/eni.c')
0 files changed, 0 insertions, 0 deletions