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
ffaf4c76
Commit
ffaf4c76
authored
Nov 07, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'davem-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
parents
70e90679
939a9516
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
drivers/net/mlx4/en_netdev.c
drivers/net/mlx4/en_netdev.c
+1
-1
drivers/net/sfc/ethtool.c
drivers/net/sfc/ethtool.c
+2
-2
drivers/net/usb/hso.c
drivers/net/usb/hso.c
+7
-5
No files found.
drivers/net/mlx4/en_netdev.c
View file @
ffaf4c76
...
...
@@ -706,7 +706,7 @@ static int mlx4_en_start_port(struct net_device *dev)
mlx4_en_release_rss_steer
(
priv
);
rx_err:
for
(
i
=
0
;
i
<
priv
->
rx_ring_num
;
i
++
)
mlx4_en_deactivate_rx_ring
(
priv
,
&
priv
->
rx_ring
[
rx_index
]);
mlx4_en_deactivate_rx_ring
(
priv
,
&
priv
->
rx_ring
[
i
]);
cq_err:
while
(
rx_index
--
)
mlx4_en_deactivate_cq
(
priv
,
&
priv
->
rx_cq
[
rx_index
]);
...
...
drivers/net/sfc/ethtool.c
View file @
ffaf4c76
...
...
@@ -174,8 +174,8 @@ static struct efx_ethtool_stat efx_ethtool_stats[] = {
/* EEPROM range with gPXE configuration */
#define EFX_ETHTOOL_EEPROM_MAGIC 0xEFAB
#define EFX_ETHTOOL_EEPROM_MIN 0x
1
00U
#define EFX_ETHTOOL_EEPROM_MAX 0x
4
00U
#define EFX_ETHTOOL_EEPROM_MIN 0x
8
00U
#define EFX_ETHTOOL_EEPROM_MAX 0x
18
00U
/**************************************************************************
*
...
...
drivers/net/usb/hso.c
View file @
ffaf4c76
...
...
@@ -2184,19 +2184,20 @@ static void hso_create_rfkill(struct hso_device *hso_dev,
struct
usb_interface
*
interface
)
{
struct
hso_net
*
hso_net
=
dev2net
(
hso_dev
);
struct
device
*
dev
=
hso_dev
->
dev
;
struct
device
*
dev
=
&
hso_net
->
net
->
dev
;
char
*
rfkn
;
hso_net
->
rfkill
=
rfkill_allocate
(
&
interface_to_usbdev
(
interface
)
->
dev
,
RFKILL_TYPE_W
L
AN
);
RFKILL_TYPE_W
W
AN
);
if
(
!
hso_net
->
rfkill
)
{
dev_err
(
dev
,
"%s - Out of memory"
,
__func__
);
dev_err
(
dev
,
"%s - Out of memory
\n
"
,
__func__
);
return
;
}
rfkn
=
kzalloc
(
20
,
GFP_KERNEL
);
if
(
!
rfkn
)
{
rfkill_free
(
hso_net
->
rfkill
);
dev_err
(
dev
,
"%s - Out of memory"
,
__func__
);
hso_net
->
rfkill
=
NULL
;
dev_err
(
dev
,
"%s - Out of memory
\n
"
,
__func__
);
return
;
}
snprintf
(
rfkn
,
20
,
"hso-%d"
,
...
...
@@ -2209,7 +2210,8 @@ static void hso_create_rfkill(struct hso_device *hso_dev,
kfree
(
rfkn
);
hso_net
->
rfkill
->
name
=
NULL
;
rfkill_free
(
hso_net
->
rfkill
);
dev_err
(
dev
,
"%s - Failed to register rfkill"
,
__func__
);
hso_net
->
rfkill
=
NULL
;
dev_err
(
dev
,
"%s - Failed to register rfkill
\n
"
,
__func__
);
return
;
}
}
...
...
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