Re: [dpdk-dev] [PATCH] app: add few sanity checks in test-sad app

2019-11-05 Thread Akhil Goyal
> > Coverity reported about two division by zero: > *** CID 350344: Incorrect expression (DIVIDE_BY_ZERO) > Although in fact these dividers will never be equal to 0, > adding explicit checks in lookup() to make coverity happy > will not affect the execution speed. > > Signed-off-by: Vladimir

[dpdk-dev] [PATCH] app: add few sanity checks in test-sad app

2019-11-01 Thread Vladimir Medvedkin
Coverity reported about two division by zero: *** CID 350344: Incorrect expression (DIVIDE_BY_ZERO) Although in fact these dividers will never be equal to 0, adding explicit checks in lookup() to make coverity happy will not affect the execution speed. Signed-off-by: Vladimir Medvedkin Acked-by