diff options
author | 2020-04-30 09:51:31 +0800 | |
---|---|---|
committer | 2020-04-30 11:53:12 -0700 | |
commit | 40cf7fbe8a43b1d8c3c0139423abbeb9625a909a (patch) | |
tree | 889f52fe025faaa0e930855377882621c2d1a5de /net/smc/smc_core.c | |
parent | hinic: make a bunch of functions static (diff) | |
download | wireguard-linux-40cf7fbe8a43b1d8c3c0139423abbeb9625a909a.tar.xz wireguard-linux-40cf7fbe8a43b1d8c3c0139423abbeb9625a909a.zip |
hinic: Use ARRAY_SIZE for nic_vf_cmd_msg_handler
fix coccinelle warning, use ARRAY_SIZE
drivers/net/ethernet/huawei/hinic/hinic_sriov.c:713:43-44: WARNING: Use ARRAY_SIZE
v1-->v2:
remove cmd_number
v2-->v3:
preserve the reverse christmas tree ordering of local variables
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_core.c')
0 files changed, 0 insertions, 0 deletions