[dpdk-dev] [PATCH v2] net/liquidio: fix uninitialized variable

Ferruh Yigit ferruh.yigit at intel.com
Tue Sep 19 09:27:58 CEST 2017


On 9/19/2017 7:45 AM, Shijith Thotton wrote:
> On Fri, Sep 15, 2017 at 07:48:28AM -0400, Yong Wang wrote:
>> In func lio_dev_link_update(), "link.link_autoneg" is used in func call
>> lio_dev_atomic_write_link_status(), but is uninitialized.
>>
>> v2:
>> * Modify the initial value of 'link.link_autoneg' from 'ETH_LINK_FIXED'
>>   to 'ETH_LINK_AUTONEG'.
>>
>> Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>
> 
> Acked-by: Shijith Thotton <shijith.thotton at caviumnetworks.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list