From: Ian Campbell Subject: Re: [PATCH 2/4] docs/html/hcall: Annotations for two hypercalls Date: Mon, 14 Nov 2011 10:12:36 +0000 Message-ID: <1321265556.3664.25.camel@zakaz.uk.xensource.com> References: <1321212066-10648-1-git-send-email-ian.jackson@eu.citrix.com> <1321212066-10648-3-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1321212066-10648-3-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Sun, 2011-11-13 at 19:21 +0000, Ian Jackson wrote: > diff --git a/xen/include/xen/errno.h b/xen/include/xen/errno.h > index 7cf599f..c2eb5d3 100644 > --- a/xen/include/xen/errno.h > +++ b/xen/include/xen/errno.h > @@ -1,6 +1,9 @@ > #ifndef _I386_ERRNO_H > #define _I386_ERRNO_H > > +/* ` enum neg_errnoval { /* -Efoo for each Efoo in the list below } */ Do we pass -Wcomment (or something which includes it)? If so gcc might warn: /home/ianc/t.c:5:26: warning: "/*" within comment (and we use -Werror, so...). Is this syntax trying to encode some meaning or was it just a typo? > +/* ` enum errnoval { */ > + > #define EPERM 1 /* Operation not permitted */ > #define ENOENT 2 /* No such file or directory */ > #define ESRCH 3 /* No such process */ > @@ -129,4 +132,6 @@ > #define ENOMEDIUM 123 /* No medium found */ > #define EMEDIUMTYPE 124 /* Wrong medium type */ > > +/* } */ Is the ` supposed to be required here or is omitting it fine? > + > #endif