From: Aaro Koskinen Date: Fri, 1 Nov 2013 15:06:03 +0000 (+0200) Subject: MIPS: cavium-octeon: fix out-of-bounds array access X-Git-Tag: v3.14-rc1~37^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b75e77048a378339ada86eff548a5b253212859;p=pandora-kernel.git 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 Acked-by: David Daney Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/6102/ --- Reading git-diff-tree failed