git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ixgbe: fix uninitialized warning
[dpdk.git]
/
drivers
/
net
/
e1000
/
base
/
e1000_api.c
diff --git
a/drivers/net/e1000/base/e1000_api.c
b/drivers/net/e1000/base/e1000_api.c
index
5ec0ad1
..
bbfcae8
100644
(file)
--- a/
drivers/net/e1000/base/e1000_api.c
+++ b/
drivers/net/e1000/base/e1000_api.c
@@
-831,10
+831,12
@@
void e1000_config_collision_dist(struct e1000_hw *hw)
*
* Sets a Receive Address Register (RAR) to the specified address.
**/
*
* Sets a Receive Address Register (RAR) to the specified address.
**/
-
void
e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index)
+
int
e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index)
{
if (hw->mac.ops.rar_set)
{
if (hw->mac.ops.rar_set)
- hw->mac.ops.rar_set(hw, addr, index);
+ return hw->mac.ops.rar_set(hw, addr, index);
+
+ return E1000_SUCCESS;
}
/**
}
/**