From: roel kluin Date: Mon, 3 Aug 2009 02:41:42 +0000 (+0000) Subject: powerpc/macio: Don't the address of an array element before boundchecking X-Git-Tag: v2.6.32-rc1~675^2~55 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2881a7134576a6e95a63e3d2f34ea5629db4a1;p=pandora-kernel.git powerpc/macio: Don't the address of an array element before boundchecking Check whether index is within bounds before grabbing the element. Signed-off-by: Roel Kluin Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed