From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by dpdk.org (Postfix) with ESMTP id 203A91E25 for ; Mon, 23 Apr 2018 18:49:47 +0200 (CEST) Received: by mail-wr0-f174.google.com with SMTP id p18-v6so23973520wrm.1 for ; Mon, 23 Apr 2018 09:49:47 -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=V0+BAYFMkajlJI8DgWVXN4dFv09xdCfiXJ19Pa5QXCQ=; b=tIFQcydgiWjRSqHy+tZ5IjvBx5/Ic4NJySlrpQbfFs4h2STWSJHV1CRY2ZVl0jbPcJ 3lP/hT6aq3Z+bgFZ//GxlQggQM9RH8Fd/q71ebFD6Au2bdaAsR7hnjijiAS+pftdMTWi XlqqP1Bx1lluuxmvl1hpmcJwwNpAJazpGc48bDshidAI90fGnASnJVF89EFCmM/YXg0U qrLp4LDV0AJliql45dlaJK5l8aFeUX0FW7fj31rbQX60KkfRKS+2NycgydbPy1Ik4kJz 21iWH/EiCR2N5Mc4S6fpLYPjP9iLFeYTOKl4WejxbleMkv92QTzDmqqhozlBZAjR+vmc TczA== X-Gm-Message-State: ALQs6tCnGXQ2CNn3yIMcQ40whTW/EOv5bR151kjBd3aqvfiOEU2+3HNx 8SCHXwEJt5J3hNV57LLzi51xjsUkpSk= X-Google-Smtp-Source: AIpwx4+Sju3t99aOyJwsGF+pt4nUjQKpSDq2gXHbZmbOfgk/GpApBRINEIQxnKkgy9ikDnAri1FFKg== X-Received: by 2002:adf:a281:: with SMTP id s1-v6mr18847886wra.176.1524502186353; Mon, 23 Apr 2018 09:49:46 -0700 (PDT) Received: from localhost (host217-43-52-152.range217-43.btcentralplus.com. [217.43.52.152]) by smtp.gmail.com with ESMTPSA id z63-v6sm17967610wrb.34.2018.04.23.09.49.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 09:49:45 -0700 (PDT) Message-ID: <1524502184.22838.35.camel@debian.org> From: Luca Boccassi To: Maxime Coquelin , stable@dpdk.org Date: Mon, 23 Apr 2018 17:49:44 +0100 In-Reply-To: <20180423163133.2659-1-maxime.coquelin@redhat.com> References: <20180423163133.2659-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 v16.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 16:49:47 -0000 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: >=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: 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") >=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