Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-10-05 Thread Thomas Monjalon
07/09/2017 15:49, Olivier MATZ: > On Thu, Sep 07, 2017 at 02:09:23PM +0100, Bruce Richardson wrote: > > When DPDK is compiled on Ubuntu with extra warnings turned on, there is a > > warning about the return value from write() being unchecked. Rather than > > having builds disable the warning, which

Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-09-15 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 7, 2017 2:09 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value > > When DPDK is compiled on Ubuntu with

Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-09-08 Thread Bruce Richardson
On Thu, Sep 07, 2017 at 09:46:18PM +0200, Olivier MATZ wrote: > On Thu, Sep 07, 2017 at 10:50:20AM -0700, Stephen Hemminger wrote: > > On Thu, 7 Sep 2017 14:09:23 +0100 > > Bruce Richardson wrote: > > > > > When DPDK is compiled on Ubuntu with extra warnings turned on, there is a > > > warning a

Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-09-07 Thread Olivier MATZ
On Thu, Sep 07, 2017 at 10:50:20AM -0700, Stephen Hemminger wrote: > On Thu, 7 Sep 2017 14:09:23 +0100 > Bruce Richardson wrote: > > > When DPDK is compiled on Ubuntu with extra warnings turned on, there is a > > warning about the return value from write() being unchecked. Rather than > > having

Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-09-07 Thread Stephen Hemminger
On Thu, 7 Sep 2017 14:09:23 +0100 Bruce Richardson wrote: > When DPDK is compiled on Ubuntu with extra warnings turned on, there is a > warning about the return value from write() being unchecked. Rather than > having builds disable the warning, which may mask other cases we do care > about, we

Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-09-07 Thread Olivier MATZ
On Thu, Sep 07, 2017 at 02:09:23PM +0100, Bruce Richardson wrote: > When DPDK is compiled on Ubuntu with extra warnings turned on, there is a > warning about the return value from write() being unchecked. Rather than > having builds disable the warning, which may mask other cases we do care > about

[dpdk-dev] [PATCH] cmdline: fix warning for unused return value

2017-09-07 Thread Bruce Richardson
When DPDK is compiled on Ubuntu with extra warnings turned on, there is a warning about the return value from write() being unchecked. Rather than having builds disable the warning, which may mask other cases we do care about, we can add a dummy use of the return value in the code to silence it in