From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by dpdk.org (Postfix) with ESMTP id 7DE7625A1 for ; Mon, 23 Apr 2018 19:10:08 +0200 (CEST) Received: by mail-wr0-f181.google.com with SMTP id q3-v6so33320943wrj.6 for ; Mon, 23 Apr 2018 10:10:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=+Zey2PSlHgyLZpt+xZls0C2ZCP40/lrnHlm+9cXQNnc=; b=BI9JQYrUi4usWsmArbzE6aaPjc6nnA0jjzQWD9MVmwmkqD0mJxgmI+Kz9uWbwXkMnc lpJ6W072LW7ZCR1FBfeh8k2Gm3p4Yf9TIJT9G5clQm59kmjfzeHo6ljkpXzXzh7bEupd PJ+4tbnshsjaAGvFcfMoV13PBoeAXVwpNtGsTdjcMa9Stw25Vny74Hc6GlQOKKkCThiI 2/0OCfPsd05bohmzsHUFdmEt04AjGDr2K5rCJ0wdWGRWIg/QZS301FdgC+I28cW/VedL GdlzLeD+ms2C7NiponDjblpC4hoRDg0xPQ3rNUDHAjMxk2Aryi8waUm7b14HXNlz+xsI OhYg== X-Gm-Message-State: ALQs6tCCPnNF4lefqmC69m3+TlDf5hO3rJqoBeUEFZo8egscL8zNqWGT X59eLihGYczSDgQj0nbMLs3UFSJBHnA= X-Google-Smtp-Source: AIpwx4+KBTaQ6se75k5GCmqzoHArbFwDfjmlk5YvXU3vCH/W3fDaUyZ1LNRXAYDJpqFLPWBiThsJ/g== X-Received: by 2002:adf:afe4:: with SMTP id y36-v6mr18381891wrd.107.1524503408069; Mon, 23 Apr 2018 10:10:08 -0700 (PDT) Received: from localhost (host217-43-52-152.range217-43.btcentralplus.com. [217.43.52.152]) by smtp.gmail.com with ESMTPSA id z11-v6sm11600604wre.15.2018.04.23.10.10.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 10:10:07 -0700 (PDT) Message-ID: <1524503406.22838.39.camel@debian.org> From: Luca Boccassi To: Maxime Coquelin , stable@dpdk.org Date: Mon, 23 Apr 2018 18:10:06 +0100 In-Reply-To: <20180423165726.12730-1-maxime.coquelin@redhat.com> References: <20180423165726.12730-1-maxime.coquelin@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v17.11 LTS] vhost: fix compilation issue when vhost debug enabled X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 17:10:08 -0000 On Mon, 2018-04-23 at 18:57 +0200, Maxime Coquelin wrote: > This patch fixes below compilation issue when > RTE_LIBRTE_VHOST_DEBUG is enabled: >=20 > In file included from ./lib/librte_vhost/virtio_net.c:50:0: > ./lib/librte_vhost/virtio_net.c: In function =E2=80=98copy_mbuf_to_desc= =E2=80=99: > ./lib/librte_vhost/vhost.h:205:42: warning: format =E2=80=98%d=E2=80=99 e= xpects > argument of type =E2=80=98int=E2=80=99, but argument 5 has type =E2=80=98= uint64_t {aka long > unsigned int}=E2=80=99 [-Wformat=3D] > =C2=A0=C2=A0=C2=A0snprintf(packet, VHOST_MAX_PRINT_BUFF, "(%d) Header siz= e %d: ", > (device->vid), (size)); \ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^ > ./lib/librte_vhost/virtio_net.c:301:4: note: in expansion of macro > =E2=80=98PRINT_PACKET=E2=80=99 > =C2=A0=C2=A0=C2=A0=C2=A0PRINT_PACKET(dev, (uintptr_t)dst, len, 0); > =C2=A0=C2=A0=C2=A0=C2=A0^~~~~~~~~~~~ >=20 > Fixes: 266a4dae840e ("vhost: handle virtually non-contiguous buffers > in Tx") > Fixes: a2bc90bb969a ("vhost: handle virtually non-contiguous buffers > in Rx") > Fixes: 1e92b3cec1d7 ("vhost: handle virtually non-contiguous buffers > in Rx-mrg") >=20 > Signed-off-by: Maxime Coquelin Thanks, applied and pushed to dpdk-stable/17.11 --=20 Kind regards, Luca Boccassi