Re: [dpdk-dev] [PATCH v3] eal, power: use UINT64_MAX and UINT32_MAX

2021-04-19 Thread Thomas Monjalon
01/04/2021 13:22, Burakov, Anatoly: > On 16-Mar-21 12:13 AM, Tyler Retzlaff wrote: > > Use UINT64_MAX and UINT32_MAX instead of -1 or ~0 literal variations > > of different explicit widths when creating masks and sentinel values. > > > > some compilers generate a warning when applying a '-' to an

Re: [dpdk-dev] [PATCH v3] eal, power: use UINT64_MAX and UINT32_MAX

2021-04-01 Thread Burakov, Anatoly
On 16-Mar-21 12:13 AM, Tyler Retzlaff wrote: Use UINT64_MAX and UINT32_MAX instead of -1 or ~0 literal variations of different explicit widths when creating masks and sentinel values. some compilers generate a warning when applying a '-' to an unsigned literal so avoid this by initializing with

Re: [dpdk-dev] [PATCH v3] eal, power: use UINT64_MAX and UINT32_MAX

2021-03-16 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tyler Retzlaff > Sent: Tuesday, March 16, 2021 1:14 AM > > Use UINT64_MAX and UINT32_MAX instead of -1 or ~0 literal variations > of different explicit widths when creating masks and sentinel values. > > some compilers generate a warning when