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
bc14d0aa
Commit
bc14d0aa
authored
Mar 14, 2002
by
William Stinson
Committed by
Jeff Garzik
Mar 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rocketport serial driver for kdev_t changes in early 2.5.x series.
parent
ec48294e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/rocket.c
drivers/char/rocket.c
+2
-2
No files found.
drivers/char/rocket.c
View file @
bc14d0aa
...
...
@@ -227,7 +227,7 @@ static inline int rocket_paranoia_check(struct r_port *info,
if
(
!
info
)
return
1
;
if
(
info
->
magic
!=
RPORT_MAGIC
)
{
printk
(
badmagic
,
MAJOR
(
device
),
MINOR
(
device
),
routine
);
printk
(
badmagic
,
major
(
device
),
minor
(
device
),
routine
);
return
1
;
}
#endif
...
...
@@ -896,7 +896,7 @@ static int rp_open(struct tty_struct *tty, struct file * filp)
CHANNEL_t
*
cp
;
unsigned
long
page
;
line
=
MINOR
(
tty
->
device
)
-
tty
->
driver
.
minor_start
;
line
=
minor
(
tty
->
device
)
-
tty
->
driver
.
minor_start
;
if
((
line
<
0
)
||
(
line
>=
MAX_RP_PORTS
))
return
-
ENODEV
;
if
(
!
tmp_buf
)
{
...
...
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