linux_dsm_epyc7002/drivers/net/ethernet/huawei/hinic
Zou Wei 37ecb5b8b8 hinic: Use kmemdup instead of kzalloc and memcpy
Fixes coccicheck warnings:

 drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:452:17-24: WARNING opportunity for kmemdup
 drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:458:23-30: WARNING opportunity for kmemdup

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>
2020-04-30 20:59:34 -07:00
..
hinic_common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_dev.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_ethtool.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hinic_hw_api_cmd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_api_cmd.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_cmdq.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_cmdq.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_csr.h hinic: add mailbox function support 2020-04-25 20:46:27 -07:00
hinic_hw_dev.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_dev.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_eqs.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_eqs.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_if.c hinic: add mailbox function support 2020-04-25 20:46:27 -07:00
hinic_hw_if.h hinic: add mailbox function support 2020-04-25 20:46:27 -07:00
hinic_hw_io.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_io.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_mbox.c hinic: Use kmemdup instead of kzalloc and memcpy 2020-04-30 20:59:34 -07:00
hinic_hw_mbox.h hinic: add mailbox function support 2020-04-25 20:46:27 -07:00
hinic_hw_mgmt.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_mgmt.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_qp_ctxt.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
hinic_hw_qp.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_qp.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_wq.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_wq.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_hw_wqe.h hinic: add vlan offload support 2019-06-29 10:28:23 -07:00
hinic_main.c hinic: add net_device_ops associated with vf 2020-04-25 20:46:28 -07:00
hinic_port.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_port.h hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_rx.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_rx.h hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_sriov.c hinic: Use ARRAY_SIZE for nic_vf_cmd_msg_handler 2020-04-30 11:53:12 -07:00
hinic_sriov.h hinic: add net_device_ops associated with vf 2020-04-25 20:46:28 -07:00
hinic_tx.c hinic: add sriov feature support 2020-04-25 20:46:28 -07:00
hinic_tx.h hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile hinic: add sriov feature support 2020-04-25 20:46:28 -07:00