diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index bdbe94f30f0706fdaa9736405e9e05fb149d6b76..900322bad4f3be2ae5a5f2d9eb7d99daee4e53ca 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c @@ -4120,7 +4120,7 @@ static void validate_options(void) */ static int __init st_setup(char *str) { - int i, len, ints[5]; + int i, len, ints[ARRAY_SIZE(parms) + 1]; char *stp; stp = get_options(str, ARRAY_SIZE(ints), ints);