OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/drivers/parport/parport_pc.c
b/drivers/parport/parport_pc.c
index
2597145
..
ad113b0
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;