[PATCH] drivers/char/tipar.c: off by one array access

In the setup function, the delay variable is initialized with ints[2],
but ints is declared as:
int ints[2];

Since the module parameter should correspond to:
tipar=timeout,delay

I suppose that the following patch fix the problem.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Luc Van Oostenryck and committed by Linus Torvalds 45ae36cb 47f176fd

+1 -1
+1 -1
drivers/char/tipar.c
··· 396 396 static int __init 397 397 tipar_setup(char *str) 398 398 { 399 - int ints[2]; 399 + int ints[3]; 400 400 401 401 str = get_options(str, ARRAY_SIZE(ints), ints); 402 402