commit | 092af038d0df94020c2102944998f7c3e5a8776a | [log] [tgz] |
---|---|---|
author | Rotariu Marian-Cristian <marian.rotariu@freescale.com> | Mon May 19 10:59:52 2014 +0300 |
committer | York Sun <yorksun@freescale.com> | Tue Jul 22 16:25:53 2014 -0700 |
tree | 29f1b9110dba51eabef1d960e7c8378b1670a66f | |
parent | 55d9f8298515945f61280daf10945e567ca077d7 [diff] |
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>