Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
caea3b92
Commit
caea3b92
authored
Mar 14, 2019
by
Jaco Hofmann
Committed by
Jaco A. Hofmann
May 08, 2019
Browse files
Fix segfault when unloading tlkm
(cherry picked from commit e23a9ad7af796de71adcdd37c89a2ec5e539e7a1)
parent
742bc1e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tlkm/pcie/pcie_device.c
View file @
caea3b92
...
...
@@ -69,6 +69,8 @@ error_pci_en:
static
void
release_device
(
struct
tlkm_pcie_device
*
pdev
)
{
struct
pci_dev
*
dev
=
pdev
->
pdev
;
dev_set_drvdata
(
&
dev
->
dev
,
NULL
);
pci_release_regions
(
pdev
->
pdev
);
pci_disable_device
(
pdev
->
pdev
);
}
...
...
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