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 issue: 161317
Fixes: 8b428cb5a92e ("net/enic: use 64B completion queue entries if available")
Cc: [email protected]

Signed-off-by: John Daley <[email protected]>
Reviewed-by: Hyong Youb Kim <[email protected]>

Applied to dpdk-next-net/main, thanks.

Reply via email to