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
nexedi
linux
Commits
eeedeada
Commit
eeedeada
authored
Nov 02, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Fix two incorrect uses of __FUNCTION__
parent
4efafa32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/serial/sa1100.c
drivers/serial/sa1100.c
+2
-2
No files found.
drivers/serial/sa1100.c
View file @
eeedeada
...
@@ -661,7 +661,7 @@ void __init sa1100_register_uart_fns(struct sa1100_port_fns *fns)
...
@@ -661,7 +661,7 @@ void __init sa1100_register_uart_fns(struct sa1100_port_fns *fns)
void
__init
sa1100_register_uart
(
int
idx
,
int
port
)
void
__init
sa1100_register_uart
(
int
idx
,
int
port
)
{
{
if
(
idx
>=
NR_PORTS
)
{
if
(
idx
>=
NR_PORTS
)
{
printk
(
KERN_ERR
__FUNCTION__
": bad index number %d
\n
"
,
idx
);
printk
(
KERN_ERR
"%s: bad index number %d
\n
"
,
__FUNCTION__
,
idx
);
return
;
return
;
}
}
...
@@ -688,7 +688,7 @@ void __init sa1100_register_uart(int idx, int port)
...
@@ -688,7 +688,7 @@ void __init sa1100_register_uart(int idx, int port)
break
;
break
;
default:
default:
printk
(
KERN_ERR
__FUNCTION__
": bad port number %d
\n
"
,
port
);
printk
(
KERN_ERR
"%s: bad port number %d
\n
"
,
__FUNCTION__
,
port
);
}
}
}
}
...
...
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