diff options
Diffstat (limited to 'drivers/scsi/arm/cumana_2.c')
-rw-r--r-- | drivers/scsi/arm/cumana_2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/arm/cumana_2.c b/drivers/scsi/arm/cumana_2.c index 68a64123af8f..ed502b7412d6 100644 --- a/drivers/scsi/arm/cumana_2.c +++ b/drivers/scsi/arm/cumana_2.c | |||
@@ -318,7 +318,7 @@ cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) | |||
318 | { | 318 | { |
319 | int ret = length; | 319 | int ret = length; |
320 | 320 | ||
321 | if (length >= 11 && strcmp(buffer, "CUMANASCSI2") == 0) { | 321 | if (length >= 11 && strncmp(buffer, "CUMANASCSI2", 11) == 0) { |
322 | buffer += 11; | 322 | buffer += 11; |
323 | length -= 11; | 323 | length -= 11; |
324 | 324 | ||