From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f178.google.com (mail-wr0-f178.google.com [209.85.128.178]) by dpdk.org (Postfix) with ESMTP id F1DB41E25 for ; Mon, 23 Apr 2018 18:52:41 +0200 (CEST) Received: by mail-wr0-f178.google.com with SMTP id h3-v6so43207381wrh.5 for ; Mon, 23 Apr 2018 09:52:41 -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=zliiEmrDT6lZY/DN06ldGOUAh1msYsUSAGq3aqEy7mw=; b=c9sZy3BY3N4u+cPDcrLvKm1SRfWUr66cfsgKnW3GwrcY73Rxpk+WfywD9Q5XlAAy/C qdzCk8LMIchxtwv3AcANpz62+Avs3CcXaZNBlwhD1/f6nhRkdJMmHE+nT00BlAtTskSr SluQWz4h8I0KbeKKApZ+thKm3sqHxM25uD56wJPQOVg+TIHy4dv+ZYgBRIpKsjBJQgXp 4DfZ8ePANOhR//jc5jZe0E9EfmedahjF5VFsoW7brQPuaR5fv5rrLTHLkiC4BR2o9EhW BOYLeNshTawe/1Zf5XB2EwXPnA1XF+ncHHk9q+fWc5dCwMWdaQcbGo6gKgLUZXHFHUF2 qEBw== X-Gm-Message-State: ALQs6tCxQArFvZdMaLSiv9nA/SvPKmvM6tuh75vIISEXxdEXgLLDGa/Q f7jGp5q+bRXuC3ibee6IcoemsQM1bsk= X-Google-Smtp-Source: AIpwx49JDFSq07w6ztwsMuwu4QeKnhNOnQjpgfAJD1DxVMaSoU5G4j0HN8oOWykiTEf6do4i0Wvn+w== X-Received: by 2002:adf:df07:: with SMTP id y7-v6mr12153744wrl.279.1524502361616; Mon, 23 Apr 2018 09:52:41 -0700 (PDT) Received: from localhost (host217-43-52-152.range217-43.btcentralplus.com. [217.43.52.152]) by smtp.gmail.com with ESMTPSA id m16sm12170466wmb.42.2018.04.23.09.52.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 09:52:40 -0700 (PDT) Message-ID: <1524502360.22838.36.camel@debian.org> From: Luca Boccassi To: Maxime Coquelin , stable@dpdk.org Date: Mon, 23 Apr 2018 17:52:40 +0100 In-Reply-To: <20180423164818.23803-1-maxime.coquelin@redhat.com> References: <20180423164818.23803-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.08] 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 16:52:42 -0000 On Mon, 2018-04-23 at 18:48 +0200, Maxime Coquelin wrote: > This patch fixes below compilation issue when > RTE_LIBRTE_VHOST_DEBUG is enabled: >=20 > 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 =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^ > /home/max/projects/src/mainline/dpdk/lib/librte_vhost/virtio_net.c:30 > 1: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: 4cffc971276e ("vhost: add support for non-contiguous indirect > descs tables") > Fixes: 23c7270c36f3 ("vhost: handle virtually non-contiguous buffers > in Rx") > Fixes: c47e72beb209 ("vhost: handle virtually non-contiguous buffers > in Rx-mrg") >=20 > Signed-off-by: Maxime Coquelin Thanks, applied and pushed to dpdk-stable/16.11 (removed the local path from the log as requested) --=20 Kind regards, Luca Boccassi