Re: [dpdk-dev] [PATCH] app/testpmd: fix error definition type

2021-10-28 Thread Ferruh Yigit
On 10/27/2021 3:01 AM, Jie Wang wrote: In "msg_type |= 0xc800", wider "51200" has high-order bits (0xc800) that don't affect the narrower left-hand side. This patch fixs coverity issue by changing the definition type of "msg_type" from uint8_t to uint16_t. Coverity issue: 373651 Fixes: 748530f0

[dpdk-dev] [PATCH] app/testpmd: fix error definition type

2021-10-26 Thread Jie Wang
In "msg_type |= 0xc800", wider "51200" has high-order bits (0xc800) that don't affect the narrower left-hand side. This patch fixs coverity issue by changing the definition type of "msg_type" from uint8_t to uint16_t. Coverity issue: 373651 Fixes: 748530f0354e ("app/testpmd: support L2TPv2 and PP