From: Ye Xiaolong <xiaolong.ye@intel.com>
To: Rami Rosen <roszenrami@gmail.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: Fri, 7 Sep 2018 15:44:02 +0800 [thread overview]
Message-ID: <20180907074402.GA18298@intel.com> (raw)
In-Reply-To: <CAKoUArkWvSWJVoRSFTLs6gVT+wcQ7R=Lx9utX-i2ht=Y9JWtfg@mail.gmail.com>
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 <roy.fan.zhang@intel.com>
>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
next prev parent reply other threads:[~2018-09-07 0:55 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
2018-09-07 7:44 ` Ye Xiaolong [this message]
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=20180907074402.GA18298@intel.com \
--to=xiaolong.ye@intel.com \
--cc=dev@dpdk.org \
--cc=maxime.coquelin@redhat.com \
--cc=roszenrami@gmail.com \
--cc=tiwei.bie@intel.com \
--cc=xiao.w.wang@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).