From: Wei Dai Date: Thu, 12 Jan 2017 14:53:26 +0000 (+0800) Subject: net/ixgbe/base: remove a compiler warning X-Git-Tag: spdx-start~4829 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fff3eeb0a6fe644fa2f681bde00edc4eac9ac8a4;p=dpdk.git net/ixgbe/base: remove a compiler warning Remove warning for "mac->led_link_act = i" where led_link_act is u8. Signed-off-by: Wei Dai --- diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c index 18bb18ccaa..0dd33b8b7c 100644 --- 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; - u16 i; + u8 i; led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL);