From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 3D8B51041 for ; Thu, 7 Sep 2017 15:49:32 +0200 (CEST) Received: from lfbn-1-18623-73.w90-103.abo.wanadoo.fr ([90.103.154.73] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dpxGq-0004bF-4P; Thu, 07 Sep 2017 15:55:05 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 07 Sep 2017 15:49:22 +0200 Date: Thu, 7 Sep 2017 15:49:22 +0200 From: Olivier MATZ To: Bruce Richardson Cc: dev@dpdk.org Message-ID: <20170907134920.f4pbqowkks6xjm6e@neon> References: <20170907130923.157924-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170907130923.157924-1-bruce.richardson@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] cmdline: fix warning for unused return value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 13:49:32 -0000 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, we can add a dummy use of the return value in the code to silence it > in this instance. > > Signed-off-by: Bruce Richardson Acked-by: Olivier Matz