DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <roszenrami@gmail.com>
To: xiaolong.ye@intel.com
Cc: dev@dpdk.org, maxime.coquelin@redhat.com, tiwei.bie@intel.com,
	 zhihong.wang@intel.com, xiao.w.wang@intel.com
Subject: Re: [dpdk-dev] [PATCH v1 2/2] examples/vdpa: add a new sample for vdpa
Date: Thu, 6 Sep 2018 20:24:25 +0300	[thread overview]
Message-ID: <CAKoUArkWvSWJVoRSFTLs6gVT+wcQ7R=Lx9utX-i2ht=Y9JWtfg@mail.gmail.com> (raw)
In-Reply-To: <20180906131653.10752-2-xiaolong.ye@intel.com>

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

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 <roy.fan.zhang@intel.com>
Date:   Thu Apr 5 17:01:36 2018 +0100
    examples/vhost_crypto: add sample application

Regards,
Rami Rosen

  reply	other threads:[~2018-09-06 17:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180906131653.10752-1-xiaolong.ye@intel.com>
2018-09-06 13:16 ` Xiaolong Ye
2018-09-06 17:24   ` Rami Rosen [this message]
2018-09-07  7:44     ` Ye Xiaolong
2018-09-10  3:19   ` Wang, Haiyue
2018-09-10 11:16     ` Ye Xiaolong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoUArkWvSWJVoRSFTLs6gVT+wcQ7R=Lx9utX-i2ht=Y9JWtfg@mail.gmail.com' \
    --to=roszenrami@gmail.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=tiwei.bie@intel.com \
    --cc=xiao.w.wang@intel.com \
    --cc=xiaolong.ye@intel.com \
    --cc=zhihong.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).