[dpdk-dev] [PATCH v2 1/4] eal: use sizeof to avoid a double use of a define
Burakov, Anatoly
anatoly.burakov at intel.com
Tue Apr 10 18:18:07 CEST 2018
On 03-Apr-18 2:04 PM, Olivier Matz wrote:
> Only a cosmetic change: the *_LEN defines are already used
> when defining the buffer. Using sizeof() ensures that the length
> stays consistent, even if the definition is modified.
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> ---
Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
--
Thanks,
Anatoly
More information about the dev
mailing list