diff options
author | roel kluin <roel.kluin@gmail.com> | 2009-08-03 02:41:42 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-20 10:29:26 +1000 |
commit | fb2881a7134576a6e95a63e3d2f34ea5629db4a1 (patch) | |
tree | 98ec36788b126a30f56fcac57196d4e29fe7e72f /drivers/macintosh/windfarm_smu_sat.c | |
parent | 14ea58ad797e4e9b7be755aca0fd3925d0713ede (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