[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH]: gdbsx: Check return of write()



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 âgx_getpktâ:
> gx_comm.c:230: error: ignoring return value of âwriteâ, declared with
> attribute warn_unused_result
> gx_comm.c:236: error: ignoring return value of âwriteâ, 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.