[dpdk-dev] [PATCH v1] net/mlx4: fix missing initializers for old GCC

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 24 20:27:19 CEST 2017


On 10/24/2017 7:35 AM, Adrien Mazarguil wrote:
> Hi Nelio,
> 
> On Tue, Oct 24, 2017 at 04:03:15PM +0200, Nélio Laranjeiro wrote:
>> Hi Moti,
>>
>> On Tue, Oct 24, 2017 at 03:35:33PM +0300, Moti Haimovsky wrote:
>>> This patch works around compilation issues seen on RHEL 7.2
>>> using GCC 4.8.5:
>>>
>>>    [...] In function 'mlx4_rss_init':
>>>    [...]/mlx4_rxq.c:433:19: error: 'wq_num' may be used uninitialized
>>>         in this function [-Werror=maybe-uninitialized]
>>>
>>> Fixes: ff3397e90080 ("net/mlx4: relax Rx queue configuration order")
>>>
>>> Signed-off-by: Moti Haimovsky <motih at mellanox.com>

> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

Squashed into relevant commit in next-net, thanks.

(whitespace issue fixed while applying)


More information about the dev mailing list