On Wed, 2 Mar 2022 19:30:39 +0100 Christian Schoenebeck <qemu_...@crudebyte.com> wrote:
> API doc comments in QEMU are supposed to be in kerneldoc format, so drop > occurrences of "@c" which is Doxygen format for fixed-width text. > > Link: > https://lore.kernel.org/qemu-devel/cafeaca89+enom6x19oef53kd2dwkhn5sn21va0d7yepjsa3...@mail.gmail.com/ > Based-on: <e1np9oz-00043l...@lizzy.crudebyte.com> > Signed-off-by: Christian Schoenebeck <qemu_...@crudebyte.com> > --- Sorry for not catching these during previous reviews :-\ Reviewed-by: Greg Kurz <gr...@kaod.org> FWIW it seems some more de-doxygenation is needed : fsdev/p9array.h: * Consider the following user struct @c Foo which shall be used as scalar fsdev/p9array.h: * @code fsdev/p9array.h: * and assume it has the following function to free memory allocated by @c Foo fsdev/p9array.h: * @code fsdev/p9array.h: * @code fsdev/p9array.h: * @code fsdev/p9array.h: * @code hw/9pfs/9p.h: * Lenght of the affix, that is how many (of the lowest) bits of @c value extra nit ^^ hw/9pfs/codir.c: * @note You must @b ALWAYS call @c v9fs_free_dirents(entries) after calling Detected with basic git grepping. Probably not exhaustive. > hw/9pfs/9p-util.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h > index 8b92614e6c..22835c5f61 100644 > --- a/hw/9pfs/9p-util.h > +++ b/hw/9pfs/9p-util.h > @@ -116,8 +116,8 @@ static inline off_t qemu_dirent_off(struct dirent *dent) > * Duplicate directory entry @dent. > * > * It is highly recommended to use this function instead of open coding > - * duplication of @c dirent objects, because the actual @c struct @c dirent > - * size may be bigger or shorter than @c sizeof(struct dirent) and correct > + * duplication of dirent objects, because the actual struct dirent > + * size may be bigger or shorter than sizeof(struct dirent) and correct > * handling is platform specific (see gitlab issue #841). > * > * @dent - original directory entry to be duplicated