On 11/4/19 1:06 PM, Olivier Matz wrote:
> The ret variable, initialized to -1, is changed to 0 during the test,
> making the test successful in some cases where it should return a
> failure.
>
> Fix this by always using the GOTO_ERR() macro that sets the ret
> variable before doing the goto.
>
> Fixes: 923ceaeac140 ("test/mempool: add unit test cases")
> Cc: Pallantla Poornima <pallantlax.poorn...@intel.com>
>
> Signed-off-by: Olivier Matz <olivier.m...@6wind.com>

Acked-by: Andrew Rybchenko <arybche...@solarflare.com>

Reply via email to