Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
dpdk-cryptodev: fix coverity issues
[vpp.git]
/
src
/
plugins
/
dpdk
/
cryptodev
/
cryptodev.h
diff --git
a/src/plugins/dpdk/cryptodev/cryptodev.h
b/src/plugins/dpdk/cryptodev/cryptodev.h
index
e7bdfc1
..
63eb46e
100644
(file)
--- a/
src/plugins/dpdk/cryptodev/cryptodev.h
+++ b/
src/plugins/dpdk/cryptodev/cryptodev.h
@@
-293,7
+293,7
@@
cryptodev_mark_frame_fill_err (vnet_crypto_async_frame_t *f, u64 current_err,
for (i = index; i < (index + n); i++)
f->elts[i].status = op_s;
- err |= (~(~(0u) << n) << index);
+ err |= (~(~(0u
ll
) << n) << index);
return err;
}