u-boot/drivers/net
Simon Glass 9d9bec216d sandbox: net: Ensure host name is always a valid string
At present if ifname is exactly IFNAMSIZ characters then it will result
in an unterminated string. Fix this by using strlcpy() instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 316358)
Acked-by: Ramon Fried <rfried.dev@gmail.com>
2021-07-15 18:42:05 -04:00
..
fm ppc: Remove T4160RDB board 2021-07-07 19:52:24 -04:00
fsl-mc image: Adjust the workings of fit_check_format() 2021-02-15 22:31:52 -05:00
ldpaa_eth common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mscc_eswitch net: luton: remove address translation after ofnode_read_resource 2021-06-05 07:35:47 -06:00
octeontx net: octeontx: smi: use dt live tree API 2021-06-18 11:29:17 +03:00
octeontx2 dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
pfe_eth armv8: ls1012a: Pass PPFE firmware to Linux through FDT 2021-06-17 11:46:11 +05:30
phy phy: add nxp tja1103 phy driver 2021-07-06 05:22:41 +03:00
qe uec.h: fix COFIG_DM typo 2021-02-21 18:46:41 -05:00
ti net: ti: am65-cpsw-nuss: Add a new compatible for AM64 2021-05-12 16:36:39 +05:30
ag7xxx.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
altera_tse.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
altera_tse.h
armada100_fec.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
armada100_fec.h
at91_emac.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
ax88180.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
ax88180.h
bcm-sf2-eth-gmac.c
bcm-sf2-eth-gmac.h
bcm-sf2-eth.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
bcm-sf2-eth.h
bcm6348-eth.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
bcm6368-eth.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
bcmgenet.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
calxedaxgmac.c net: calxedagmac: Convert to DM_ETH 2021-04-20 07:31:12 -04:00
cortina_ni.c net: cortina_ni: buffer overrun 2021-02-24 16:51:49 -05:00
cortina_ni.h net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs 2021-01-27 10:47:44 -05:00
cs8900.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
cs8900.h
dc2114x.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
designware.c net: designware: fix PHY reset with DM_MDIO 2021-04-28 17:45:26 +02:00
designware.h dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dm9000x.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
dm9000x.h
dnet.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
dnet.h
dsa_sandbox.c sandbox: Add a DSA sandbox driver and unit test 2021-04-15 14:22:17 +05:30
dwc_eth_qos.c net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN 2021-07-06 05:22:41 +03:00
dwmac_meson8b.c net: designware: meson8b: add g12a compatible 2021-05-14 17:46:50 +02:00
dwmac_s700.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dwmac_socfpga.c net: designware: socfpga: Add ATF support for MAC driver 2021-01-15 17:48:37 +08:00
e1000.c net: e1000: do not attempt to set hwaddr for i210 without FLASH 2021-06-18 11:29:17 +03:00
e1000.h net: e1000: do not attempt to set hwaddr for i210 without FLASH 2021-06-18 11:29:17 +03:00
e1000_spi.c
eepro100.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
ep93xx_eth.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
ep93xx_eth.h
eth-phy-uclass.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
ethoc.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
fec_mxc.c net: fec: Only unregister MII bus if we registered it 2021-05-02 12:46:54 +02:00
fec_mxc.h treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
fsl_enetc.c net: enetc: propagate the return code from phy_startup() to eth_ops::start 2021-07-06 05:22:41 +03:00
fsl_enetc.h net: enetc: force the RGMII MAC speed/duplex instead of using in-band signaling 2021-07-06 05:22:41 +03:00
fsl_enetc_mdio.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
fsl_ls_mdio.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
fsl_mcdmafec.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
fsl_mdio.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
ftgmac100.c net: ftgmac100: Read and retain MAC address 2021-01-19 09:15:02 -05:00
ftgmac100.h
ftmac100.c Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
ftmac100.h
ftmac110.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
ftmac110.h
gmac_rockchip.c clk: Allow force setting clock defaults before relocation 2021-06-17 09:40:57 +08:00
higmacv300.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
Kconfig ppc: Remove T4160RDB board 2021-07-07 19:52:24 -04:00
ks8851_mll.c net: ks8851: Reset internal RXFC count on bad packet 2021-01-19 09:15:02 -05:00
ks8851_mll.h
lan91c96.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
lan91c96.h
lpc32xx_eth.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
macb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
macb.h net: macb: Add DMA 64-bit address support for macb 2021-01-18 11:06:38 +08:00
Makefile net: synquacer: Add netsec driver 2021-06-18 11:29:17 +03:00
mcffec.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mcfmii.c m68k: Remove M5475x boards 2021-07-07 19:52:22 -04:00
mdio-ipq4019.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
mdio_mux_i2creg.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
mdio_mux_meson_g12a.c net: add Amlogic Meson G12A MDIO MUX driver 2021-04-06 11:10:29 +02:00
mdio_mux_mmioreg.c net: add MMIO Register MDIO MUX driver 2021-04-06 11:10:29 +02:00
mdio_mux_sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mdio_sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc8xx_fec.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mt7620-eth.c net: add ethernet driver for MediaTek MT7620 SoC 2021-01-24 21:39:27 +01:00
mt7628-eth.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
mtk_eth.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
mtk_eth.h eth: mtk-eth: enable mt7629 sgmii mode support in mediatek eth driver 2020-07-28 22:44:00 -04:00
mvgbe.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvgbe.h
mvmdio.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
mvneta.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvpp2.c net: mvpp2: add explicit sgmii-2500 support 2021-05-20 13:03:35 +02:00
natsemi.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
netconsole.c
ns8382x.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
pch_gbe.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
pch_gbe.h
pcnet.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
pic32_eth.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pic32_eth.h
pic32_mdio.c
ravb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rtl8139.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
rtl8169.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
sandbox-raw-bus.c
sandbox-raw.c sandbox: net: Ensure host name is always a valid string 2021-07-15 18:42:05 -04:00
sandbox.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sh_eth.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sh_eth.h sh: Remove sh7757lcr board 2021-02-15 10:16:24 -05:00
smc911x.c net: smc911x: Determine bus width at runtime 2021-07-06 05:22:41 +03:00
smc911x.h
smc91111.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
smc91111.h
sni_ave.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sni_netsec.c net: synquacer: Add netsec driver 2021-06-18 11:29:17 +03:00
sun8i_emac.c net: sun8i-emac: fix MDIO frequency 2021-06-18 11:29:17 +03:00
sunxi_emac.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
tsec.c net: tsec: add option to set device max-speed via dts 2021-06-17 11:46:11 +05:30
uli526x.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
vsc7385.c
vsc9953.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
xilinx_axi_emac.c net: xilinx: axi_emac: Add support for 10G/25G AXI ethernet 2021-06-28 09:08:20 +02:00
xilinx_emaclite.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
zynq_gem.c net: gem: Fix setting PCS auto-negotiation state 2021-03-30 09:18:47 +02:00