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
0908cab4
Commit
0908cab4
authored
Jun 19, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/spare/repo/netdev-2.6/misc
into pobox.com:/spare/repo/net-drivers-2.6
parents
80124602
1c880537
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/net/eql.c
drivers/net/eql.c
+4
-0
No files found.
drivers/net/eql.c
View file @
0908cab4
...
@@ -499,6 +499,8 @@ static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *scp)
...
@@ -499,6 +499,8 @@ static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *scp)
return
-
ENODEV
;
return
-
ENODEV
;
ret
=
-
EINVAL
;
ret
=
-
EINVAL
;
if
(
!
slave_dev
)
return
ret
;
spin_lock_bh
(
&
eql
->
queue
.
lock
);
spin_lock_bh
(
&
eql
->
queue
.
lock
);
if
(
eql_is_slave
(
slave_dev
))
{
if
(
eql_is_slave
(
slave_dev
))
{
...
@@ -534,6 +536,8 @@ static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *scp)
...
@@ -534,6 +536,8 @@ static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *scp)
return
-
ENODEV
;
return
-
ENODEV
;
ret
=
-
EINVAL
;
ret
=
-
EINVAL
;
if
(
!
slave_dev
)
return
ret
;
eql
=
dev
->
priv
;
eql
=
dev
->
priv
;
spin_lock_bh
(
&
eql
->
queue
.
lock
);
spin_lock_bh
(
&
eql
->
queue
.
lock
);
...
...
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