From fd1c9aa53dab4cdeefa292aff369730f3105aa0c Mon Sep 17 00:00:00 2001 From: Roel Kluin Date: Tue, 8 Dec 2009 14:08:57 -0800 Subject: [PATCH] --- yaml --- r: 181243 b: refs/heads/master c: 8fe79162a6807bf120140d64e96da54fc273b88b h: refs/heads/master i: 181241: df963d05ca6111d08357810b5479e3eba2aacf1f 181239: c4d76ec07d2b48129ea15c34adb2f5685fb5b449 v: v3 --- [refs] | 2 +- trunk/drivers/scsi/eata.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)