projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2b3e6
)
parport_pc.c: use correct length in strncmp
author
Joe Perches
<joe@perches.com>
Wed, 16 Dec 2009 00:47:45 +0000
(16:47 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:12 +0000
(07:20 -0800)
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parport/parport_pc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/parport/parport_pc.c
b/drivers/parport/parport_pc.c
index 2597145a066e391fa988ecbbf44921f2f249ef1d..ad113b0f62dbe056643de8960a610f318cd3a1ee 100644
(file)
--- a/
drivers/parport/parport_pc.c
+++ b/
drivers/parport/parport_pc.c
@@
-3403,7
+3403,7
@@
static int __init parport_parse_param(const char *s, int *val,
*val = automatic;
else if (!strncmp(s, "none", 4))
*val = none;
- else if (nofifo && !strncmp(s, "nofifo",
4
))
+ else if (nofifo && !strncmp(s, "nofifo",
6
))
*val = nofifo;
else {
char *ep;