[U-Boot] [PATCH] net/fm: call fm_port_to_index() with proper checks