Messages in this thread | | | Date | Thu, 30 Apr 2020 11:57:51 -0700 (PDT) | Subject | Re: [PATCH -next v3] hinic: Use ARRAY_SIZE for nic_vf_cmd_msg_handler | From | David Miller <> |
| |
From: Zou Wei <zou_wei@huawei.com> Date: Thu, 30 Apr 2020 09:51:31 +0800
> 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>
Applied.
| |