[dpdk-dev] [PATCH] net/bnxt: fix compilation

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 10 18:45:35 CEST 2017


On 10/10/2017 8:40 AM, Kavanagh, Mark B wrote:
>> From: Yigit, Ferruh
>> Sent: Monday, October 9, 2017 6:34 PM
>> To: Kavanagh, Mark B <mark.b.kavanagh at intel.com>; dev at dpdk.org
>> Cc: ajit.khaparde at broadcom.com
>> Subject: Re: [PATCH] net/bnxt: fix compilation
>>
>> On 10/9/2017 2:59 PM, Mark Kavanagh wrote:
>>> As of 5ef3b79fdfe6f, compilation of DPDK fails with the following
>>> error message:
>>> "bnxt_filter.c:960:117: error: ‘vnic’ may be used uninitialized in this
>>> function [-Werror=maybe-uninitialized]".
>>>
>>> Resolve this by initializing 'vnic' to NULL;
>>>
>>> Fixes: 5ef3b79fdfe6f ("net/bnxt: support flow filter ops")
>>
>>>
>>> Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
>>
>> Applied to dpdk-next-net/master, thanks.
>>
>> Can you please provide compiler and version information?
>> I get the commit for now and will update it later with that information.
> 
> Thanks Ferruh - compiler info is as follows:
> 
>    gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)

Updated commit log, thanks.


More information about the dev mailing list