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
dcee68e7
Commit
dcee68e7
authored
May 18, 2003
by
Chas Williams
Committed by
David S. Miller
May 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: Need to use try_module_get not __module_get.
parent
1d8c72f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/atm/common.c
net/atm/common.c
+2
-1
No files found.
net/atm/common.c
View file @
dcee68e7
...
...
@@ -278,7 +278,8 @@ static int atm_do_connect_dev(struct atm_vcc *vcc,struct atm_dev *dev,int vpi,
vcc
->
qos
.
txtp
.
min_pcr
,
vcc
->
qos
.
txtp
.
max_pcr
,
vcc
->
qos
.
txtp
.
max_sdu
);
DPRINTK
(
" RX: %d, PCR %d..%d, SDU %d
\n
"
,
vcc
->
qos
.
rxtp
.
traffic_class
,
vcc
->
qos
.
rxtp
.
min_pcr
,
vcc
->
qos
.
rxtp
.
max_pcr
,
vcc
->
qos
.
rxtp
.
max_sdu
);
__module_get
(
dev
->
ops
->
owner
);
if
(
!
try_module_get
(
dev
->
ops
->
owner
))
return
-
ENODEV
;
if
(
dev
->
ops
->
open
)
{
error
=
dev
->
ops
->
open
(
vcc
,
vpi
,
vci
);
if
(
error
)
{
...
...
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