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
hinic_common.h
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
hinic_hw_api_cmd.h
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
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_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_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
Kconfig
Makefile hinic: add sriov feature support 2020-04-25 20:46:28 -07:00