diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-03-28 21:30:18 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-03-28 21:30:18 +0100 |
commit | 9759d22c8348343b0da4e25d6150c41712686c14 (patch) | |
tree | 338b185f11d705258888a8f2318a3a3b7ea0968d /drivers/scsi/arm/cumana_2.c | |
parent | Merge branch 'origin' into devel (diff) | |
parent | [ARM] 5435/1: fix compile warning in sanity_check_meminfo() (diff) | |
download | linux-9759d22c8348343b0da4e25d6150c41712686c14.tar.xz linux-9759d22c8348343b0da4e25d6150c41712686c14.zip |
Merge branch 'master' into devel
Conflicts:
arch/arm/include/asm/elf.h
arch/arm/kernel/module.c
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 8ee01b907332..c9902b5c1f2b 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) { int ret = length; - if (length >= 11 && strcmp(buffer, "CUMANASCSI2") == 0) { + if (length >= 11 && strncmp(buffer, "CUMANASCSI2", 11) == 0) { buffer += 11; length -= 11; |