From b30018008278bc874358ec90165304ae2285625e Mon Sep 17 00:00:00 2001 From: Dmitry Valter Date: Thu, 7 Mar 2024 17:55:29 +0000 Subject: dpdk-cryptodev: fix coverity issues Copy v23.10-rc0-154-gfeda2ff64 fix to the unbatched path Type: fix Signed-off-by: Dmitry Valter Change-Id: I2f58ed9a39439b22918946f328f96e676c68add9 --- src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c b/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c index a3e66b25653..8d55e4fbf0f 100644 --- a/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c +++ b/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c @@ -521,7 +521,7 @@ cryptodev_frame_dequeue_internal (vlib_main_t *vm, u32 *enqueue_thread_idx) while (n_elts) { fe[0].status = cryptodev_status_conversion[cop[0]->op.status]; - err0 |= (fe[0].status == VNET_CRYPTO_OP_STATUS_COMPLETED) << n; + err0 |= ((u64) (fe[0].status == VNET_CRYPTO_OP_STATUS_COMPLETED)) << n; n++; fe++; cop++; -- cgit 1.2.3-korg