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
025e8c09
Commit
025e8c09
authored
Nov 02, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] 8250: Remove two warnings.
parent
26020757
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/serial/8250.c
drivers/serial/8250.c
+1
-2
No files found.
drivers/serial/8250.c
View file @
025e8c09
...
@@ -2442,7 +2442,6 @@ static int __init serial8250_init(void)
...
@@ -2442,7 +2442,6 @@ static int __init serial8250_init(void)
static
void
__exit
serial8250_exit
(
void
)
static
void
__exit
serial8250_exit
(
void
)
{
{
struct
platform_device
*
isa_dev
=
serial8250_isa_devs
;
struct
platform_device
*
isa_dev
=
serial8250_isa_devs
;
int
i
;
/*
/*
* This tells serial8250_unregister_port() not to re-register
* This tells serial8250_unregister_port() not to re-register
...
@@ -2520,7 +2519,7 @@ int register_serial(struct serial_struct *req)
...
@@ -2520,7 +2519,7 @@ int register_serial(struct serial_struct *req)
*/
*/
if
(
port
.
uartclk
==
0
)
{
if
(
port
.
uartclk
==
0
)
{
printk
(
KERN_WARNING
printk
(
KERN_WARNING
"Serial: registering port at [%08
l
x,%08lx,%p] irq %d with zero baud_base
\n
"
,
"Serial: registering port at [%08x,%08lx,%p] irq %d with zero baud_base
\n
"
,
port
.
iobase
,
port
.
mapbase
,
port
.
membase
,
port
.
irq
);
port
.
iobase
,
port
.
mapbase
,
port
.
membase
,
port
.
irq
);
printk
(
KERN_WARNING
"Serial: see %s:%d for more information
\n
"
,
printk
(
KERN_WARNING
"Serial: see %s:%d for more information
\n
"
,
__FILE__
,
__LINE__
);
__FILE__
,
__LINE__
);
...
...
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