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

Re: [Xen-devel] [PATCH] Add doc-comment to get_domain_by_id



On Fri, 2013-01-18 at 13:34 +0000, Mats Petersson wrote:
> # HG changeset patch
> # User Mats Petersson <mats.petersson@xxxxxxxxxx>
> # Date 1358516011 0
> # Node ID 9662deb217d7869d35dce5587ae8a1b45296b3a0
> # Parent  126ce5f1855ba21ae24fc1c0981e5c05a3245bad
> Add doc-comment to get_domain_by_id
> 
> diff --git a/xen/common/domain.c b/xen/common/domain.c
> --- a/xen/common/domain.c
> +++ b/xen/common/domain.c

We normally put these comments in the header next to the protoype.

> @@ -373,7 +373,16 @@
>      free_cpumask_var(cpumask);
>  }
>  
> -
> +/**

Nothing in the Xen infrastructure parses these sorts of headers and
practically nowhere else uses them. I'd say just make this a regular
comment.

Ian.


_______________________________________________
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®.