[dpdk-dev] [PATCH] examples/vhost_blk: use common macros for min/max
tiwei.bie at intel.com
Sat Feb 22 00:50:20 CET 2020
On Fri, Feb 21, 2020 at 07:29:13PM +0100, Thomas Monjalon wrote:
> 20/02/2020 03:52, Tiwei Bie:
> > 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.
> Only RTE_MIN is used in this patch. The title is wrong as well.
Make sense! The commit log should describe what's changed
by the patch exactly.
> > > 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>
More information about the dev