git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
serial
/
suncore.c
diff --git
a/drivers/serial/suncore.c
b/drivers/serial/suncore.c
index
93909ed
..
5fc4a62
100644
(file)
--- a/
drivers/serial/suncore.c
+++ b/
drivers/serial/suncore.c
@@
-90,13
+90,13
@@
no_options:
cflag = CREAD | HUPCL | CLOCAL;
s = mode;
cflag = CREAD | HUPCL | CLOCAL;
s = mode;
- baud = simple_strtoul(s,
0
, 0);
+ baud = simple_strtoul(s,
NULL
, 0);
s = strchr(s, ',');
s = strchr(s, ',');
- bits = simple_strtoul(++s,
0
, 0);
+ bits = simple_strtoul(++s,
NULL
, 0);
s = strchr(s, ',');
parity = *(++s);
s = strchr(s, ',');
s = strchr(s, ',');
parity = *(++s);
s = strchr(s, ',');
- stop = simple_strtoul(++s,
0
, 0);
+ stop = simple_strtoul(++s,
NULL
, 0);
s = strchr(s, ',');
/* XXX handshake is not handled here. */
s = strchr(s, ',');
/* XXX handshake is not handled here. */