projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9c90b
)
i7core_edac: Better parse "any" addrmask
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 4 Oct 2009 14:54:56 +0000
(11:54 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 10 May 2010 14:49:30 +0000
(11:49 -0300)
Instead of accepting just "any", accept also "any\n"
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/i7core_edac.c
b/drivers/edac/i7core_edac.c
index
94aeca0
..
477b62a
100644
(file)
--- a/
drivers/edac/i7core_edac.c
+++ b/
drivers/edac/i7core_edac.c
@@
-800,7
+800,7
@@
static ssize_t i7core_inject_store_##param( \
if (pvt->inject.enable) \
disable_inject(mci); \
\
- if (!strcasecmp(data, "any")
)
\
+ if (!strcasecmp(data, "any")
|| !strcasecmp(data, "any\n"))
\
value = -1; \
else { \
rc = strict_strtoul(data, 10, &value); \