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

Re: [Xen-devel] [Patch v3] xl: Fix CHK_ERRNO()



On Tue, 2013-12-10 at 17:19 +0000, Ian Jackson wrote:
> Andrew Cooper writes ("[Xen-devel] [Patch v3] xl: Fix CHK_ERRNO()"):
> > The macro CHK_ERRNO() was being used to check two different error schemes, 
> > and
> > succeeded at neither.
> > 
> > Split the macro into two; CHK_SYSCALL() for calls which return -1 and set
> > errno on error, and CHK_ERRNOVAL() for calls which return an errno.
> > 
> > In both cases, ensure that strerror() now gets called with the error 
> > integer.
> 
> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Applied.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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