[dpdk-dev] [PATCH] examples/vhost_blk: use common macros for min/max
Tiwei Bie
tiwei.bie at intel.com
Thu Feb 20 03:52:41 CET 2020
On Wed, Feb 19, 2020 at 11:39:22AM +0100, Thomas Monjalon wrote:
> The macros RTE_MIN and RTE_MAX can be used in DPDK applications.
>
> This change implies fixing the sign of used_len as size_t
> as defined in vhost_strcpy_pad().
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> examples/vhost_blk/blk.c | 4 ++--
> examples/vhost_blk/vhost_blk.h | 2 --
> examples/vhost_blk/vhost_blk_compat.c | 2 +-
> 3 files changed, 3 insertions(+), 5 deletions(-)
Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
Thanks,
Tiwei
More information about the dev
mailing list