u-boot-brain/drivers/net/fm
Rotariu Marian-Cristian 1155d8d853 net/fm: call fm_port_to_index() with proper checks
Some of the fm_port_to_index() callers did not check for -1 return value and
used -1 as an array index.

Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2014-07-22 16:25:53 -07:00
..
b4860.c net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
dtsec.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
eth.c net/fman: Add support for 10GEC3 and 10GEC4 2013-11-25 11:43:47 -08:00
fm.c QE/FMAN: modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR 2014-04-22 17:58:47 -07:00
fm.h net/fm: call fm_port_to_index() with proper checks 2014-07-22 16:25:53 -07:00
init.c net/fm: call fm_port_to_index() with proper checks 2014-07-22 16:25:53 -07:00
Makefile powerpc/85xx: add T4080 SoC support 2014-05-13 08:26:54 -07:00
memac_phy.c powerpc/fman/memac: use default MDIO_HOLD value 2014-05-13 08:26:54 -07:00
memac.c powerpc/t4240: add QSGMII interface support 2013-08-20 10:46:48 -07:00
p1023.c net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
p4080.c net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
p5020.c net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
p5040.c net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
t1040.c boards/t1040qds: Adds ethernet support for T1040 2014-02-03 08:38:48 -08:00
t2080.c powerpc/t2080qds: some update for t2080qds 2014-01-21 13:37:41 -08:00
t4240.c net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
tgec_phy.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tgec.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00