diff options
Diffstat (limited to 'drivers/scsi/ips.c')
-rw-r--r-- | drivers/scsi/ips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 350c08c60887..5353b28b2939 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -556,7 +556,7 @@ ips_setup(char *ips_str) | |||
556 | * We now have key/value pairs. | 556 | * We now have key/value pairs. |
557 | * Update the variables | 557 | * Update the variables |
558 | */ | 558 | */ |
559 | for (i = 0; i < (sizeof (options) / sizeof (options[0])); i++) { | 559 | for (i = 0; i < ARRAY_SIZE(options); i++) { |
560 | if (strnicmp | 560 | if (strnicmp |
561 | (key, options[i].option_name, | 561 | (key, options[i].option_name, |
562 | strlen(options[i].option_name)) == 0) { | 562 | strlen(options[i].option_name)) == 0) { |