Re: [dpdk-dev] [PATCH] mem: fix static analysis warning

2018-07-20 Thread Thomas Monjalon
17/07/2018 17:41, Anatoly Burakov: > Technically, single file segments codepath will never get > triggered when using in-memory mode, because EAL prohibits > mixing these two options at initialization time. However, > code analyzers do not know that, and some will complain > about either using unin

[dpdk-dev] [PATCH] mem: fix static analysis warning

2018-07-17 Thread Anatoly Burakov
Technically, single file segments codepath will never get triggered when using in-memory mode, because EAL prohibits mixing these two options at initialization time. However, code analyzers do not know that, and some will complain about either using uninitialized variables, or trying to do operatio