From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ye Xiaolong Subject: Re: [PATCH v1 2/2] examples/vdpa: add a new sample for vdpa Date: Fri, 7 Sep 2018 15:44:02 +0800 Message-ID: <20180907074402.GA18298@intel.com> References: <20180906131653.10752-1-xiaolong.ye@intel.com> <20180906131653.10752-2-xiaolong.ye@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, maxime.coquelin@redhat.com, tiwei.bie@intel.com, zhihong.wang@intel.com, xiao.w.wang@intel.com To: Rami Rosen Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 1419B3772 for ; Fri, 7 Sep 2018 02:55:49 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, Rosen. Thanks a lot for your comments. On 09/06, Rami Rosen wrote: >Hi all, >First, thanks for the vdpa example patches. >Second, I am getting a compilation error under Ubuntu 18.04, with gcc >version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) >... > CC main.o >/work/src/dpdk/examples/vdpa/main.c: In function ‘main’: >/work/src/dpdk/examples/vdpa/main.c:321:5: error: ignoring return >value of ‘scanf’, declared with attribute warn_unused_result >[-Werror=unused-result] > scanf("%c", &ch); > ^~~~~~~~~~~~~~~~ >cc1: all warnings being treated as errors >/work/src/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target >'main.o' failed >make[1]: *** [main.o] Error 1 > I'll look into it and solve it in v2. >Also, it would be nice to have as part of this patch series adding the >relevant info in >MAINTAINERS, doc/guides/sample_app_ug/index.rst , examples/Makefile >and adding a doc/guides/sample_app_ug/vdpa.rst, like most patches for >examples do. >See for example, > >commit f5188211c721688bf8530d1648d623205246e1da >Author: Fan Zhang >Date: Thu Apr 5 17:01:36 2018 +0100 > examples/vhost_crypto: add sample application > Got it, I'll add necessary documentations accordingly. Thanks, Xiaolong >Regards, >Rami Rosen