Re: [dpdk-dev] [PATCH v3 8/9] mem: fix statement having no effect

2018-04-27 Thread Bruce Richardson
On Wed, Apr 25, 2018 at 10:56:46AM +0100, Anatoly Burakov wrote: > Coverity reports these lines as having no effect. Technically, we do > want for those lines to have no effect, however they would've likely > been optimized out. Add volatile qualifiers to ensure the code has > effects. > > Coverit

[dpdk-dev] [PATCH v3 8/9] mem: fix statement having no effect

2018-04-25 Thread Anatoly Burakov
Coverity reports these lines as having no effect. Technically, we do want for those lines to have no effect, however they would've likely been optimized out. Add volatile qualifiers to ensure the code has effects. Coverity issue: 272608 Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runt