commit | 40cf7fbe8a43b1d8c3c0139423abbeb9625a909a | [log] [tgz] |
---|---|---|
author | Zou Wei <zou_wei@huawei.com> | Thu Apr 30 09:51:31 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 11:53:12 2020 -0700 |
tree | 889f52fe025faaa0e930855377882621c2d1a5de | |
parent | ddc2118ef064ca130f06716829e11e02b3915fd0 [diff] |
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>