Re: [dpdk-dev] [PATCH v2] examples/vhost: fix potentially overflowing expression

2021-02-03 Thread Maxime Coquelin
On 2/2/21 8:24 AM, Cheng Jiang wrote: > |Change the type of buff_idx from uint64_t to uint32_t to fix coverity > issue. Coverity issue: 366264 Fixes: a68ba8e0a6b6 ("examples/vhost: > refactor vhost data path") Signed-off-by: Cheng Jiang > --- v2: fixed the format of git log > examples/vhost/mai

Re: [dpdk-dev] [PATCH v2] examples/vhost: fix potentially overflowing expression

2021-02-03 Thread Maxime Coquelin
On 2/2/21 8:24 AM, Cheng Jiang wrote: > Change the type of buff_idx from uint64_t to uint32_t to fix coverity > issue. > > Coverity issue: 366264 > Fixes: a68ba8e0a6b6 ("examples/vhost: refactor vhost data path") > > Signed-off-by: Cheng Jiang > --- > v2: fixed the format of git log > > exa

[dpdk-dev] [PATCH v2] examples/vhost: fix potentially overflowing expression

2021-02-01 Thread Cheng Jiang
Change the type of buff_idx from uint64_t to uint32_t to fix coverity issue. Coverity issue: 366264 Fixes: a68ba8e0a6b6 ("examples/vhost: refactor vhost data path") Signed-off-by: Cheng Jiang --- v2: fixed the format of git log examples/vhost/main.c | 2 +- 1 file changed, 1 insertion(+), 1 de