commit | b30018008278bc874358ec90165304ae2285625e | [log] [tgz] |
---|---|---|
author | Dmitry Valter <d-valter@yandex-team.com> | Thu Mar 07 17:55:29 2024 +0000 |
committer | Fan Zhang <fanzhang.oss@gmail.com> | Fri Mar 22 13:40:47 2024 +0000 |
tree | 3a24ee654c8cd04c32470875710854098d9a8072 | |
parent | e1195861386e5344a653782cad772a5d1f596228 [diff] |
dpdk-cryptodev: fix coverity issues Copy v23.10-rc0-154-gfeda2ff64 fix to the unbatched path Type: fix Signed-off-by: Dmitry Valter <d-valter@yandex-team.com> Change-Id: I2f58ed9a39439b22918946f328f96e676c68add9
diff --git a/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c b/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c index a3e66b2..8d55e4f 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 @@ 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++;