Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
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
Show 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 @@ tx_err:
...
@@ -706,7 +706,7 @@ tx_err:
mlx4_en_release_rss_steer
(
priv
);
mlx4_en_release_rss_steer
(
priv
);
rx_err:
rx_err:
for
(
i
=
0
;
i
<
priv
->
rx_ring_num
;
i
++
)
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:
cq_err:
while
(
rx_index
--
)
while
(
rx_index
--
)
mlx4_en_deactivate_cq
(
priv
,
&
priv
->
rx_cq
[
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[] = {
...
@@ -174,8 +174,8 @@ static struct efx_ethtool_stat efx_ethtool_stats[] = {
/* EEPROM range with gPXE configuration */
/* EEPROM range with gPXE configuration */
#define EFX_ETHTOOL_EEPROM_MAGIC 0xEFAB
#define EFX_ETHTOOL_EEPROM_MAGIC 0xEFAB
#define EFX_ETHTOOL_EEPROM_MIN 0x
1
00U
#define EFX_ETHTOOL_EEPROM_MIN 0x
8
00U
#define EFX_ETHTOOL_EEPROM_MAX 0x
4
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,
...
@@ -2184,19 +2184,20 @@ static void hso_create_rfkill(struct hso_device *hso_dev,
struct
usb_interface
*
interface
)
struct
usb_interface
*
interface
)
{
{
struct
hso_net
*
hso_net
=
dev2net
(
hso_dev
);
struct
hso_net
*
hso_net
=
dev2net
(
hso_dev
);
struct
device
*
dev
=
hso_dev
->
dev
;
struct
device
*
dev
=
&
hso_net
->
net
->
dev
;
char
*
rfkn
;
char
*
rfkn
;
hso_net
->
rfkill
=
rfkill_allocate
(
&
interface_to_usbdev
(
interface
)
->
dev
,
hso_net
->
rfkill
=
rfkill_allocate
(
&
interface_to_usbdev
(
interface
)
->
dev
,
RFKILL_TYPE_W
L
AN
);
RFKILL_TYPE_W
W
AN
);
if
(
!
hso_net
->
rfkill
)
{
if
(
!
hso_net
->
rfkill
)
{
dev_err
(
dev
,
"%s - Out of memory"
,
__func__
);
dev_err
(
dev
,
"%s - Out of memory
\n
"
,
__func__
);
return
;
return
;
}
}
rfkn
=
kzalloc
(
20
,
GFP_KERNEL
);
rfkn
=
kzalloc
(
20
,
GFP_KERNEL
);
if
(
!
rfkn
)
{
if
(
!
rfkn
)
{
rfkill_free
(
hso_net
->
rfkill
);
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
;
return
;
}
}
snprintf
(
rfkn
,
20
,
"hso-%d"
,
snprintf
(
rfkn
,
20
,
"hso-%d"
,
...
@@ -2209,7 +2210,8 @@ static void hso_create_rfkill(struct hso_device *hso_dev,
...
@@ -2209,7 +2210,8 @@ static void hso_create_rfkill(struct hso_device *hso_dev,
kfree
(
rfkn
);
kfree
(
rfkn
);
hso_net
->
rfkill
->
name
=
NULL
;
hso_net
->
rfkill
->
name
=
NULL
;
rfkill_free
(
hso_net
->
rfkill
);
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
;
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