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
500edc94
Commit
500edc94
authored
Jul 31, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] more typo fixes and dead old code removal
(Adrian Bunk, Steven Cole)
parent
e7885c59
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
drivers/char/pcxx.c
drivers/char/pcxx.c
+0
-2
drivers/char/rio/riotable.c
drivers/char/rio/riotable.c
+1
-1
drivers/char/synclink.c
drivers/char/synclink.c
+1
-1
drivers/char/synclinkmp.c
drivers/char/synclinkmp.c
+1
-1
No files found.
drivers/char/pcxx.c
View file @
500edc94
...
...
@@ -110,7 +110,6 @@ static int memsize[] = {0, 0, 0, 0};
static
int
altpin
[]
=
{
0
,
0
,
0
,
0
};
static
int
numports
[]
=
{
0
,
0
,
0
,
0
};
# if (LINUX_VERSION_CODE > 0x020111)
MODULE_AUTHOR
(
"Bernhard Kaindl"
);
MODULE_DESCRIPTION
(
"Digiboard PC/X{i,e,eve} driver"
);
MODULE_LICENSE
(
"GPL"
);
...
...
@@ -121,7 +120,6 @@ MODULE_PARM(membase, "1-4i");
MODULE_PARM
(
memsize
,
"1-4i"
);
MODULE_PARM
(
altpin
,
"1-4i"
);
MODULE_PARM
(
numports
,
"1-4i"
);
# endif
#endif MODULE
...
...
drivers/char/rio/riotable.c
View file @
500edc94
...
...
@@ -208,7 +208,7 @@ struct rio_info * p;
return
-
ENXIO
;
}
if
(
MapP
->
ID
>
MAX_RUP
)
{
rio_dprintk
(
RIO_DEBUG_TABLE
,
"RIO: RTA %s has been allocated an i
llegal
ID %d
\n
"
,
rio_dprintk
(
RIO_DEBUG_TABLE
,
"RIO: RTA %s has been allocated an i
nvalid
ID %d
\n
"
,
MapP
->
Name
,
MapP
->
ID
);
p
->
RIOError
.
Error
=
ID_NUMBER_OUT_OF_RANGE
;
p
->
RIOError
.
Entry
=
Entry
;
...
...
drivers/char/synclink.c
View file @
500edc94
...
...
@@ -3487,7 +3487,7 @@ static int mgsl_open(struct tty_struct *tty, struct file * filp)
/* verify range of specified line number */
line
=
tty
->
index
;
if
((
line
<
0
)
||
(
line
>=
mgsl_device_count
))
{
printk
(
"%s(%d):mgsl_open with i
llegal
line #%d.
\n
"
,
printk
(
"%s(%d):mgsl_open with i
nvalid
line #%d.
\n
"
,
__FILE__
,
__LINE__
,
line
);
return
-
ENODEV
;
}
...
...
drivers/char/synclinkmp.c
View file @
500edc94
...
...
@@ -729,7 +729,7 @@ static int open(struct tty_struct *tty, struct file *filp)
line
=
tty
->
index
;
if
((
line
<
0
)
||
(
line
>=
synclinkmp_device_count
))
{
printk
(
"%s(%d): open with i
llegal
line #%d.
\n
"
,
printk
(
"%s(%d): open with i
nvalid
line #%d.
\n
"
,
__FILE__
,
__LINE__
,
line
);
return
-
ENODEV
;
}
...
...
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