Hi David,
On 2024/3/7 1:34, David Marchand wrote:
> On Tue, Feb 20, 2024 at 2:16 PM Chengwen Feng wrote:
>>
>> The struct rte_argparse_arg's flags was 64bit type, uint64_t should be
>> used instead of uint32_t where the operation happened.
>
> Something is strange.
> An enum in C is represented
On Tue, Feb 20, 2024 at 2:16 PM Chengwen Feng wrote:
>
> The struct rte_argparse_arg's flags was 64bit type, uint64_t should be
> used instead of uint32_t where the operation happened.
Something is strange.
An enum in C is represented as an int.
Plus, this enum type is not used anywhere:
lib/arg
The struct rte_argparse_arg's flags was 64bit type, uint64_t should be
used instead of uint32_t where the operation happened.
Also, the flags' bit16 was also unused, so don't test bit16 in testcase
test_argparse_invalid_arg_flags.
Fixes: 6c5c6571601c ("argparse: verify argument config")
Fixes: 31
3 matches
Mail list logo