diff options
author | Rotariu Marian-Cristian <marian.rotariu@freescale.com> | 2014-05-19 10:59:52 +0300 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-07-22 16:25:53 -0700 |
commit | 1155d8d853ff8639062651a903ae3062f483dc70 (patch) | |
tree | 29f1b9110dba51eabef1d960e7c8378b1670a66f /include/bouncebuf.h | |
parent | 605714f66998e02cbe3666139a48d83e85fcdc0f (diff) | |
download | u-boot-imx-1155d8d853ff8639062651a903ae3062f483dc70.zip u-boot-imx-1155d8d853ff8639062651a903ae3062f483dc70.tar.gz u-boot-imx-1155d8d853ff8639062651a903ae3062f483dc70.tar.bz2 |
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>
Diffstat (limited to 'include/bouncebuf.h')
0 files changed, 0 insertions, 0 deletions