linux/drivers/net/ethernet/freescale
YueHaibing ec7d6dd870 ethernet: ucc_geth: Use kmemdup() rather than kmalloc+memcpy
Issue identified with Coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-23 18:51:42 -07:00
..
dpaa bpf, devmap: Move drop error path to devmap for XDP_REDIRECT 2021-03-18 16:38:51 +01:00
dpaa2 dpaa2-eth: don't print error from dpaa2_mac_connect if that's EPROBE_DEFER 2021-05-21 14:49:40 -07:00
enetc enetc: fix locking for one-step timestamping packet transfer 2021-04-23 13:52:30 -07:00
fman of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
fs_enet of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
fec_main.c net: fec: make use of generic NET_SELFTESTS library 2021-04-20 16:08:02 -07:00
fec_mpc52xx_phy.c
fec_mpc52xx.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
fec_mpc52xx.h
fec_ptp.c net: fec: ptp: avoid register access when ipg clock is disabled 2021-02-26 15:45:18 -08:00
fec.h net: fec: Fix temporary RMII clock reset on link up 2021-01-26 18:24:39 -08:00
fsl_pq_mdio.c net: freescale: convert comma to semicolon 2020-12-09 16:23:08 -08:00
gianfar_ethtool.c net: gianfar: reject unsupported coalescing params 2020-03-12 11:32:35 -07:00
gianfar.c gianfar: Drop GFAR_MQ_POLLING support 2021-04-16 15:46:15 -07:00
gianfar.h gianfar: Drop GFAR_MQ_POLLING support 2021-04-16 15:46:15 -07:00
Kconfig net: selftest: fix build issue if INET is disabled 2021-04-28 14:06:45 -07:00
Makefile net: enetc: fix link error again 2021-04-22 13:23:07 -07:00
ucc_geth_ethtool.c net/freescale: Don't set zero if FW not-available in ucc_geth 2020-03-03 17:54:55 -08:00
ucc_geth.c ethernet: ucc_geth: Use kmemdup() rather than kmalloc+memcpy 2021-05-23 18:51:42 -07:00
ucc_geth.h ethernet: ucc_geth: simplify rx/tx allocations 2021-01-21 12:19:56 -08:00
xgmac_mdio.c net/fsl: quieten expected MDIO access failures 2020-09-24 20:13:26 -07:00