MIPS: cavium-octeon: fix out-of-bounds array access
MIPS: cavium-octeon: fix out-of-bounds array access

When booting with in-kernel DTBs, the pruning code will enumerate
interfaces 0-4. However, there is memory reserved only for 4 so some
other data will get overwritten by cvmx_helper_interface_enumerate().

Signed-off-by: Aaro Koskinen <13423a3f3006b5859cfceae66d59451f5eb4e205@nsn.com>
Acked-by: David Daney <eec15f2dea0e7d114bf41a5bde8a2858b8f3e893@cavium.com>
Signed-off-by: John Crispin <be6487f9df4dce44a640672d6c07330104d43593@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6102/

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs