[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200430.115751.581150594033352826.davem@davemloft.net>
Date: Thu, 30 Apr 2020 11:57:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zou_wei@...wei.com
Cc: aviad.krawczyk@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v3] hinic: Use ARRAY_SIZE for
nic_vf_cmd_msg_handler
From: Zou Wei <zou_wei@...wei.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@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
Applied.
Powered by blists - more mailing lists