diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-04 19:42:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-04 19:42:53 +0100 |
commit | c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81 (patch) | |
tree | 398e03a622d469bcf770ac601708c6aeb25f07fc | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
parent | [SERIAL] 8250_early.c passing 0 instead of NULL (diff) | |
download | linux-c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81.tar.xz linux-c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81.zip |
Merge master.kernel.org:/home/rmk/linux-2.6-serial
-rw-r--r-- | drivers/serial/8250_early.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_early.c b/drivers/serial/8250_early.c index b7a5dd710228..59ba5d993b4b 100644 --- a/drivers/serial/8250_early.c +++ b/drivers/serial/8250_early.c @@ -164,7 +164,7 @@ static int __init parse_options(struct early_uart_device *device, char *options) if ((options = strchr(options, ','))) { options++; - device->baud = simple_strtoul(options, 0, 0); + device->baud = simple_strtoul(options, NULL, 0); length = min(strcspn(options, " "), sizeof(device->options)); strncpy(device->options, options, length); } else { |