git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bead34
)
net/ixgbe/base: remove a compiler warning
author
Wei Dai
<wei.dai@intel.com>
Thu, 12 Jan 2017 14:53:26 +0000
(22:53 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:42 +0000
(19:41 +0100)
Remove warning for "mac->led_link_act = i" where led_link_act is u8.
Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/base/ixgbe_common.c
b/drivers/net/ixgbe/base/ixgbe_common.c
index
18bb18c
..
0dd33b8
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_common.c
+++ b/
drivers/net/ixgbe/base/ixgbe_common.c
@@
-1150,7
+1150,7
@@
s32 ixgbe_init_led_link_act_generic(struct ixgbe_hw *hw)
{
struct ixgbe_mac_info *mac = &hw->mac;
u32 led_reg, led_mode;
- u
16
i;
+ u
8
i;
led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL);