Re: [dpdk-dev] [PATCH v1] net/enic: fix completion pointer calculation

2021-04-13 Thread Ferruh Yigit
On 4/12/2021 9:50 PM, John Daley wrote: The completion queue index could be implicitly extended past its uint16_t size when multiplied by the size of the descriptor. While this should not be a problem, coverity flags it. Do the extension explicitly by casting the index to uintptr_t. Coverity iss

[dpdk-dev] [PATCH v1] net/enic: fix completion pointer calculation

2021-04-12 Thread John Daley
The completion queue index could be implicitly extended past its uint16_t size when multiplied by the size of the descriptor. While this should not be a problem, coverity flags it. Do the extension explicitly by casting the index to uintptr_t. Coverity issue: 161317 Fixes: 8b428cb5a92e ("net/enic: