From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) by dpdk.org (Postfix) with ESMTP id E28503DC for ; Mon, 23 Apr 2018 19:17:52 +0200 (CEST) Received: by mail-wr0-f180.google.com with SMTP id c14-v6so3270297wrd.4 for ; Mon, 23 Apr 2018 10:17:52 -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=NOT39TrshFV8sSDuxQv3hTMJT8m7rVN2RWL0NGS0UHc=; b=FiDWw83KMxQ54CbNYM11Ebr6V1QFd18GQSZ40nIVD1B3N/yMJqFqNkIDZzTZ6s4M1E 8MNLM9RTcLuW2viH/NOvpezTCeT+rceJxWvzPuUFXBoaf5niU9gY3ZfSXAmISZhRbMl4 4O2NzoXBU1TqhgZyYKHETffu9t0UYAF2yCSOqqJe34x5AKXd09LO4RAicG+8LYNCJFSy +KKkRFiK5SWY5mtBsg3u8QkmoarHOnHa0yzD/7kbMtp2c4dUdLLiG7vOJPmHB2TC1cZl HY+71epowilrtKAwXSmQQSqsVShi+Ij+ao99AZArujggiqFlitKh2GNelIiYaDP3YkFz obAg== X-Gm-Message-State: ALQs6tA8xubmjuWN/J0HgiXCf5XGRAjkdws42CXxC/eTavopk/+mx3Ng b7Z7GLW/j5I2ViCDPQw1zc4= X-Google-Smtp-Source: AIpwx4/H9WBvPH7doBP+Wcl+VGPr3rAbKdWxu6Xkr+pFBl9RfmdJcjAsZQaJs+xFTBFXXTEzoe+a5g== X-Received: by 10.28.17.142 with SMTP id 136mr9731738wmr.38.1524503872554; Mon, 23 Apr 2018 10:17:52 -0700 (PDT) Received: from localhost (host217-43-52-152.range217-43.btcentralplus.com. [217.43.52.152]) by smtp.gmail.com with ESMTPSA id b13sm9957285wmi.42.2018.04.23.10.17.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 10:17:51 -0700 (PDT) Message-ID: <1524503870.22838.40.camel@debian.org> From: Luca Boccassi To: Maxime Coquelin , stable@dpdk.org Date: Mon, 23 Apr 2018 18:17:50 +0100 In-Reply-To: <20180423170318.32300-1-maxime.coquelin@redhat.com> References: <20180423170318.32300-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 v18.02] 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:17:53 -0000 On Mon, 2018-04-23 at 19:03 +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: de7f26b5c35c ("vhost: handle virtually non-contiguous buffers > in Tx") > Fixes: f98ac647a76f ("vhost: handle virtually non-contiguous buffers > in Rx") > Fixes: 5fe57f56573d ("vhost: handle virtually non-contiguous buffers > in Rx-mrg") >=20 > Signed-off-by: Maxime Coquelin Thanks, applied and pushed to dpdk-stable/18.02 --=20 Kind regards, Luca Boccassi