]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl: s3c24xx: off by one in s3c24xx_eint_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 27 Aug 2013 01:11:26 +0000 (04:11 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Aug 2013 12:44:25 +0000 (14:44 +0200)
commit774e2d981f517e7bfbdfbc4174ef258e8c1ab335
treea13b80d7e54a147f09d000a48bec7201f095002d
parentddb6c45fb7a41c9830931fd3f0af57b622cede74
pinctrl: s3c24xx: off by one in s3c24xx_eint_init()

If "irq == NUM_EINT" then it writes one space beyond the end of the
eint_data->domains[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-s3c24xx.c