powerpc/macio: Don't the address of an array element before boundchecking
authorroel kluin <roel.kluin@gmail.com>
Mon, 3 Aug 2009 02:41:42 +0000 (02:41 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:29:26 +0000 (10:29 +1000)
Check whether index is within bounds before grabbing the element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found