ARM: i.MX: iim: fix potential out of bounds array access
The check is off-by-one.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 435ec26 commit b06ecabed947ed778ee2f271c0cb0cc8c4483f5d
@Lucas Stach Lucas Stach authored on 6 Jul 2016
Sascha Hauer committed on 7 Jul 2016
Showing 1 changed file
View
arch/arm/mach-imx/iim.c