From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH]: gdbsx: Check return of write() Date: Wed, 3 Nov 2010 09:09:29 +0100 Message-ID: <20101103080929.GA13339@aepfle.de> References: <20101102103414.GA13749@aepfle.de> <1288714297.23619.59.camel@qabil.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Bruce Edge Cc: "xen-devel@lists.xensource.com" , Jackson , Gianni Tedesco List-Id: xen-devel@lists.xenproject.org On Tue, Nov 02, Bruce Edge wrote: > o-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF > .gx_local.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror > -Wmissing-prototypes -c -o gx_local.o gx_local.c > cc1: warnings being treated as errors > gx_comm.c: In function =E2=80=98gx_getpkt=E2=80=99: > gx_comm.c:230: error: ignoring return value of =E2=80=98write=E2=80=99,= declared with > attribute warn_unused_result > gx_comm.c:236: error: ignoring return value of =E2=80=98write=E2=80=99,= declared with > attribute warn_unused_result With the patch applied, the line number 236 should be 237. Please apply the suggested patch, its not upstream yet. Olaf