patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: Maxime Coquelin <maxime.coquelin@redhat.com>, stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH v16.11 LTS] vhost: fix compilation issue when vhost debug enabled
Date: Mon, 23 Apr 2018 17:49:44 +0100	[thread overview]
Message-ID: <1524502184.22838.35.camel@debian.org> (raw)
In-Reply-To: <20180423163133.2659-1-maxime.coquelin@redhat.com>

On Mon, 2018-04-23 at 18:31 +0200, Maxime Coquelin wrote:
> This patch fixes below compilation issue when
> RTE_LIBRTE_VHOST_DEBUG is enabled:
> 
> In file included from
> /home/max/projects/src/mainline/dpdk/lib/librte_vhost/virtio_net.c:50
> :0:
> ./lib/librte_vhost/virtio_net.c: In function ‘copy_mbuf_to_desc’:
> ./lib/librte_vhost/vhost.h:205:42: warning: format ‘%d’ expects
> argument of type ‘int’, but argument 5 has type ‘uint64_t {aka long
> unsigned int}’ [-Wformat=]
>    snprintf(packet, VHOST_MAX_PRINT_BUFF, "(%d) Header size %d: ",
> (device->vid), (size)); \
>                                           ^
> /home/max/projects/src/mainline/dpdk/lib/librte_vhost/virtio_net.c:30
> 1:4: note: in expansion of macro ‘PRINT_PACKET’
>     PRINT_PACKET(dev, (uintptr_t)dst, len, 0);
>     ^~~~~~~~~~~~
> 
> Fixes: 067047a90055 ("vhost: handle virtually non-contiguous buffers
> in Tx")
> Fixes: dd906b814d9a ("vhost: handle virtually non-contiguous buffers
> in Rx")
> Fixes: 2b8d39414619 ("vhost: handle virtually non-contiguous buffers
> in Rx-mrg")
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> ---

Thanks, applied and pushed to dpdk-stable/16.11 (removed the local path
from the log as requested)

-- 
Kind regards,
Luca Boccassi

      reply	other threads:[~2018-04-23 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 16:31 Maxime Coquelin
2018-04-23 16:49 ` Luca Boccassi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1524502184.22838.35.camel@debian.org \
    --to=bluca@debian.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).