diff options
author | Marvin Liu <yong.liu@intel.com> | 2023-05-05 23:03:46 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-05-16 09:28:07 +0000 |
commit | 754f79c36a93adf7ef421181526338e0ac4bf763 (patch) | |
tree | 30749016f43948e470c4eecde1249a92d0e1f789 /src/plugins/memif/node.c | |
parent | 00c37199d7a784b627a9017c4533a3ca240b9c6d (diff) |
memif: fix coverity warnings
Type: fix
Signed-off-by: Marvin Liu <yong.liu@intel.com>
Change-Id: Ie3f390be16df81f6824344034377f9a6f4fa9f92
Diffstat (limited to 'src/plugins/memif/node.c')
-rw-r--r-- | src/plugins/memif/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c index 1ee94f2e81b..4d97ed22d64 100644 --- a/src/plugins/memif/node.c +++ b/src/plugins/memif/node.c @@ -1286,7 +1286,7 @@ memif_device_input_inline_dma (vlib_main_t *vm, vlib_node_runtime_t *node, mq->dma_info_tail = 0; done: - vlib_dma_batch_set_cookie (vm, db, (mif_id << 16) | qid); + vlib_dma_batch_set_cookie (vm, db, ((u64) mif_id << 16) | qid); vlib_dma_batch_submit (vm, db); vec_reset_length (ptd->copy_ops); |