On Fri, May 15, 2020 at 4:28 PM Kevin Traynor wrote:
>
> gcc 10.1.1 reports a warning for the ext_bkt_id variable:
>
> ../lib/librte_hash/rte_cuckoo_hash.c:
> In function ‘__rte_hash_add_key_with_hash’:
> ../lib/librte_hash/rte_cuckoo_hash.c:1104:29:
> warning: ‘ext_bkt_id’ may be used uninitializ
> -Original Message-
> From: Kevin Traynor
> Sent: Friday, May 15, 2020 12:18 PM
> To: Wang, Yipeng1 ; dev@dpdk.org; Gobriel,
> Sameh ; Richardson, Bruce
>
> Cc: honnappa.nagaraha...@arm.com; Yigit, Ferruh ;
> david.march...@redhat.com; sta...@dpdk.org
> Subject: Re: [PATCH] hash: fix gcc
On 15/05/2020 20:06, Wang, Yipeng1 wrote:
>> -Original Message-
>> From: Kevin Traynor
>> Sent: Friday, May 15, 2020 7:28 AM
>> To: dev@dpdk.org; Wang, Yipeng1 ; Gobriel,
>> Sameh ; Richardson, Bruce
>>
>> Cc: honnappa.nagaraha...@arm.com; Yigit, Ferruh ;
>> david.march...@redhat.com; Kev
> -Original Message-
> From: Kevin Traynor
> Sent: Friday, May 15, 2020 7:28 AM
> To: dev@dpdk.org; Wang, Yipeng1 ; Gobriel,
> Sameh ; Richardson, Bruce
>
> Cc: honnappa.nagaraha...@arm.com; Yigit, Ferruh ;
> david.march...@redhat.com; Kevin Traynor ;
> sta...@dpdk.org
> Subject: [PATCH]
gcc 10.1.1 reports a warning for the ext_bkt_id variable:
../lib/librte_hash/rte_cuckoo_hash.c:
In function ‘__rte_hash_add_key_with_hash’:
../lib/librte_hash/rte_cuckoo_hash.c:1104:29:
warning: ‘ext_bkt_id’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
1104 | (h->buckets_ex
5 matches
Mail list logo