aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/gdth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index 35a4b3073ec3..a765fe7a55c3 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -3842,7 +3842,7 @@ int __init option_setup(char *str)
3842 3842
3843 TRACE2(("option_setup() str %s\n", str ? str:"NULL")); 3843 TRACE2(("option_setup() str %s\n", str ? str:"NULL"));
3844 3844
3845 while (cur && isdigit(*cur) && i <= MAXHA) { 3845 while (cur && isdigit(*cur) && i < MAXHA) {
3846 ints[i++] = simple_strtoul(cur, NULL, 0); 3846 ints[i++] = simple_strtoul(cur, NULL, 0);
3847 if ((cur = strchr(cur, ',')) != NULL) cur++; 3847 if ((cur = strchr(cur, ',')) != NULL) cur++;
3848 } 3848 }