summaryrefslogtreecommitdiffstats
path: root/arch/mips/pmc-sierra/yosemite/prom.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2012-01-11 20:11:29 +0100
committerPekka Enberg <penberg@kernel.org>2012-01-11 20:11:29 +0100
commit5878cf431ca7233a56819ca6970153ac0b129599 (patch)
treee5d21d04a0b468d2dabbe3a3824f23b5537fc6a7 /arch/mips/pmc-sierra/yosemite/prom.c
parentslub: disallow changing cpu_partial from userspace for debug caches (diff)
parentslub: add missed accounting (diff)
downloadlinux-5878cf431ca7233a56819ca6970153ac0b129599.tar.xz
linux-5878cf431ca7233a56819ca6970153ac0b129599.zip
Merge branch 'slab/urgent' into slab/for-linus
Diffstat (limited to 'arch/mips/pmc-sierra/yosemite/prom.c')
-rw-r--r--arch/mips/pmc-sierra/yosemite/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pmc-sierra/yosemite/prom.c b/arch/mips/pmc-sierra/yosemite/prom.c
index cf4c868715ac..dcc926e06fce 100644
--- a/arch/mips/pmc-sierra/yosemite/prom.c
+++ b/arch/mips/pmc-sierra/yosemite/prom.c
@@ -102,7 +102,7 @@ void __init prom_init(void)
/* Get the boot parameters */
for (i = 1; i < argc; i++) {
- if (strlen(arcs_cmdline) + strlen(arg[i] + 1) >=
+ if (strlen(arcs_cmdline) + strlen(arg[i]) + 1 >=
sizeof(arcs_cmdline))
break;