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
8f3c0618
Commit
8f3c0618
authored
Oct 11, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Fix oops when removing some PCI serial boards
Patch from William Lee Irwin II.
parent
cbf98efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/serial/8250_pci.c
drivers/serial/8250_pci.c
+2
-1
No files found.
drivers/serial/8250_pci.c
View file @
8f3c0618
...
@@ -768,7 +768,8 @@ static void __devexit pci_remove_one(struct pci_dev *dev)
...
@@ -768,7 +768,8 @@ static void __devexit pci_remove_one(struct pci_dev *dev)
for
(
i
=
0
;
i
<
priv
->
nr
;
i
++
)
for
(
i
=
0
;
i
<
priv
->
nr
;
i
++
)
unregister_serial
(
priv
->
line
[
i
]);
unregister_serial
(
priv
->
line
[
i
]);
priv
->
board
->
init_fn
(
dev
,
priv
->
board
,
0
);
if
(
priv
->
board
->
init_fn
)
priv
->
board
->
init_fn
(
dev
,
priv
->
board
,
0
);
pci_disable_device
(
dev
);
pci_disable_device
(
dev
);
...
...
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