numam-dpdk/examples/vhost_blk
Thomas Monjalon 39f59f37ee examples/vhost_blk: use common macro for minimum
The macro RTE_MIN can be used in vhost-blk example.

This change implies fixing the sign of used_len as size_t
as defined in vhost_strcpy_pad().

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-04-21 13:57:07 +02:00
..
blk_spec.h replace packed attributes 2020-04-16 18:16:46 +02:00
blk.c examples/vhost_blk: use common macro for minimum 2020-04-21 13:57:07 +02:00
Makefile examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
meson.build examples/vhost_blk: introduce vhost storage sample 2019-11-11 14:23:02 +01:00
vhost_blk_compat.c examples/vhost_blk: use common macro for minimum 2020-04-21 13:57:07 +02:00
vhost_blk.c examples/vhost_blk: fix build with gcc 10 2020-03-04 10:24:42 +01:00
vhost_blk.h examples/vhost_blk: use common macro for minimum 2020-04-21 13:57:07 +02:00