git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/qat: enable GEN4 b devices
[dpdk.git]
/
examples
/
vhost_blk
/
vhost_blk_compat.c
diff --git
a/examples/vhost_blk/vhost_blk_compat.c
b/examples/vhost_blk/vhost_blk_compat.c
index
51a1be6
..
f6de83a
100644
(file)
--- a/
examples/vhost_blk/vhost_blk_compat.c
+++ b/
examples/vhost_blk/vhost_blk_compat.c
@@
-60,7
+60,7
@@
vhost_blk_get_config(struct vhost_block_dev *bdev, uint8_t *config,
fprintf(stdout, "block device:blk_size = %d, blkcnt = %"PRIx64"\n",
blk_size, blkcnt);
- memcpy(config, &blkcfg,
min
(len, sizeof(blkcfg)));
+ memcpy(config, &blkcfg,
RTE_MIN
(len, sizeof(blkcfg)));
return 0;
}