aboutsummaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_smu_sat.c
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2009-08-03 02:41:42 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-20 10:29:26 +1000
commitfb2881a7134576a6e95a63e3d2f34ea5629db4a1 (patch)
tree98ec36788b126a30f56fcac57196d4e29fe7e72f /drivers/macintosh/windfarm_smu_sat.c
parent14ea58ad797e4e9b7be755aca0fd3925d0713ede (diff)
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 <roel.kluin@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/windfarm_smu_sat.c')
0 files changed, 0 insertions, 0 deletions