diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-30 04:51:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 21:53:12 +0300 |
commit | 40cf7fbe8a43b1d8c3c0139423abbeb9625a909a (patch) | |
tree | 889f52fe025faaa0e930855377882621c2d1a5de /drivers/net/phy/Makefile | |
parent | ddc2118ef064ca130f06716829e11e02b3915fd0 (diff) | |
download | linux-40cf7fbe8a43b1d8c3c0139423abbeb9625a909a.tar.xz |
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 'drivers/net/phy/Makefile')
0 files changed, 0 insertions, 0 deletions