diff --git a/[refs] b/[refs] index 316e48990f21..abda8971f7e3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9b7dac086bec7c71722d6e79464609e17f0996e7 +refs/heads/master: 8fe79162a6807bf120140d64e96da54fc273b88b diff --git a/trunk/drivers/scsi/eata.c b/trunk/drivers/scsi/eata.c index c7076ce25e21..3c5abf7cd762 100644 --- a/trunk/drivers/scsi/eata.c +++ b/trunk/drivers/scsi/eata.c @@ -1509,7 +1509,7 @@ static int option_setup(char *str) char *cur = str; int i = 1; - while (cur && isdigit(*cur) && i <= MAX_INT_PARAM) { + while (cur && isdigit(*cur) && i < MAX_INT_PARAM) { ints[i++] = simple_strtoul(cur, NULL, 0); if ((cur = strchr(cur, ',')) != NULL)