[PATCH v2] lib/cryptodev: fix assertion to remove GCC compilation warning

2023-05-22 Thread Kamil Godzwon
d after assignment a '0' value. To get rid of this warning message, use 'if' condition to verify the 'left' value before RTE_ASSERT. Signed-off-by: Kamil Godzwon --- v2: Changed commit message as the line was too long Removed braces --- lib/cryptodev/rte_crypto_

[PATCH] lib/cryptodev: fix assertion to remove GCC compilation warning

2023-05-22 Thread Kamil Godzwon
fter assignment a '0' value. To get rid of this warning message, use 'if' condition to verify the 'left' value before RTE_ASSERT. Signed-off-by: Kamil Godzwon --- lib/cryptodev/rte_crypto_sym.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --gi