Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c8ebce6e
Commit
c8ebce6e
authored
Nov 04, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
0676fc12
b2281abf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/serial/8250_early.c
drivers/serial/8250_early.c
+1
-1
No files found.
drivers/serial/8250_early.c
View file @
c8ebce6e
...
@@ -164,7 +164,7 @@ static int __init parse_options(struct early_uart_device *device, char *options)
...
@@ -164,7 +164,7 @@ static int __init parse_options(struct early_uart_device *device, char *options)
if
((
options
=
strchr
(
options
,
','
)))
{
if
((
options
=
strchr
(
options
,
','
)))
{
options
++
;
options
++
;
device
->
baud
=
simple_strtoul
(
options
,
0
,
0
);
device
->
baud
=
simple_strtoul
(
options
,
NULL
,
0
);
length
=
min
(
strcspn
(
options
,
" "
),
sizeof
(
device
->
options
));
length
=
min
(
strcspn
(
options
,
" "
),
sizeof
(
device
->
options
));
strncpy
(
device
->
options
,
options
,
length
);
strncpy
(
device
->
options
,
options
,
length
);
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment