[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 11/14] kernel-doc: public/version.h
On 21.10.2020 02:00, Stefano Stabellini wrote: > --- a/xen/include/public/version.h > +++ b/xen/include/public/version.h > @@ -30,19 +30,32 @@ > > #include "xen.h" > > -/* NB. All ops return zero on success, except XENVER_{version,pagesize} > - * XENVER_{version,pagesize,build_id} */ > +/** > + * DOC: XENVER_* > + * > + * NB. All ops return zero on success, except for: > + * > + * - XENVER_{version,pagesize,build_id} > + */ > > -/* arg == NULL; returns major:minor (16:16). */ > +/** > + * DOC: XENVER_version > + * @arg == NULL; returns major:minor (16:16). > + */ > #define XENVER_version 0 > > -/* arg == xen_extraversion_t. */ > +/** > + * DOC: XENVER_extraversion > + * @arg == xen_extraversion_t. > + */ > #define XENVER_extraversion 1 > typedef char xen_extraversion_t[16]; > #define XEN_EXTRAVERSION_LEN (sizeof(xen_extraversion_t)) > > -/* arg == xen_compile_info_t. */ > #define XENVER_compile_info 2 > +/** > + * struct xen_compile_info - XENVER_compile_info > + */ At the example of this one - elsewhere I think I've seen you also use single-line comments starting with /**. I can accept the choice of multi-line here, but I think I'd like ./CODING_STYLE to then be amended to allow such in certain cases. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |