* [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment
@ 2022-03-02 18:30 Christian Schoenebeck
2022-03-02 18:57 ` Peter Maydell
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Christian Schoenebeck @ 2022-03-02 18:30 UTC (permalink / raw)
To: qemu-devel; +Cc: Greg Kurz, Peter Maydell
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+ENOM6x19OEF53Kd2DWkhN5SN21Va0D7yepJSa3Jyg@mail.gmail.com/
Based-on: <E1nP9Oz-00043L-KJ@lizzy.crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
---
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
--
2.30.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment
2022-03-02 18:30 [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment Christian Schoenebeck
@ 2022-03-02 18:57 ` Peter Maydell
2022-03-03 9:53 ` [SPAM] " Greg Kurz
2022-03-03 12:22 ` Christian Schoenebeck
2 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2022-03-02 18:57 UTC (permalink / raw)
To: Christian Schoenebeck; +Cc: qemu-devel, Greg Kurz
On Wed, 2 Mar 2022 at 18:43, Christian Schoenebeck
<qemu_oss@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+ENOM6x19OEF53Kd2DWkhN5SN21Va0D7yepJSa3Jyg@mail.gmail.com/
> Based-on: <E1nP9Oz-00043L-KJ@lizzy.crudebyte.com>
> Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> ---
> 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
> --
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [SPAM] [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment
2022-03-02 18:30 [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment Christian Schoenebeck
2022-03-02 18:57 ` Peter Maydell
@ 2022-03-03 9:53 ` Greg Kurz
2022-03-03 10:55 ` Christian Schoenebeck
2022-03-03 12:22 ` Christian Schoenebeck
2 siblings, 1 reply; 6+ messages in thread
From: Greg Kurz @ 2022-03-03 9:53 UTC (permalink / raw)
To: Christian Schoenebeck; +Cc: Peter Maydell, qemu-devel
On Wed, 2 Mar 2022 19:30:39 +0100
Christian Schoenebeck <qemu_oss@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+ENOM6x19OEF53Kd2DWkhN5SN21Va0D7yepJSa3Jyg@mail.gmail.com/
> Based-on: <E1nP9Oz-00043L-KJ@lizzy.crudebyte.com>
> Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> ---
Sorry for not catching these during previous reviews :-\
Reviewed-by: Greg Kurz <groug@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment
2022-03-03 9:53 ` [SPAM] " Greg Kurz
@ 2022-03-03 10:55 ` Christian Schoenebeck
2022-03-03 11:29 ` Greg Kurz
0 siblings, 1 reply; 6+ messages in thread
From: Christian Schoenebeck @ 2022-03-03 10:55 UTC (permalink / raw)
To: qemu-devel; +Cc: Greg Kurz, Peter Maydell
On Donnerstag, 3. März 2022 10:53:32 CET Greg Kurz wrote:
> On Wed, 2 Mar 2022 19:30:39 +0100
>
> Christian Schoenebeck <qemu_oss@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+ENOM6x19OEF53Kd2DWkhN5SN21Va
> > 0D7yepJSa3Jyg@mail.gmail.com/ Based-on:
> > <E1nP9Oz-00043L-KJ@lizzy.crudebyte.com>
> > Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> > ---
>
> Sorry for not catching these during previous reviews :-\
>
> Reviewed-by: Greg Kurz <groug@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
OK, I send more patches to wipe these as well today.
Greg, if something is tagged as junk email at your end, please remove it from
the subject line, otherwise I will not receive your reply. It was pure luck
that I noticed your message on the archives this time.
Best regards,
Christian Schoenebeck
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment
2022-03-03 10:55 ` Christian Schoenebeck
@ 2022-03-03 11:29 ` Greg Kurz
0 siblings, 0 replies; 6+ messages in thread
From: Greg Kurz @ 2022-03-03 11:29 UTC (permalink / raw)
To: Christian Schoenebeck; +Cc: Peter Maydell, qemu-devel
On Thu, 03 Mar 2022 11:55:36 +0100
Christian Schoenebeck <qemu_oss@crudebyte.com> wrote:
> On Donnerstag, 3. März 2022 10:53:32 CET Greg Kurz wrote:
> > On Wed, 2 Mar 2022 19:30:39 +0100
> >
> > Christian Schoenebeck <qemu_oss@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+ENOM6x19OEF53Kd2DWkhN5SN21Va
> > > 0D7yepJSa3Jyg@mail.gmail.com/ Based-on:
> > > <E1nP9Oz-00043L-KJ@lizzy.crudebyte.com>
> > > Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> > > ---
> >
> > Sorry for not catching these during previous reviews :-\
> >
> > Reviewed-by: Greg Kurz <groug@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
>
> OK, I send more patches to wipe these as well today.
>
> Greg, if something is tagged as junk email at your end, please remove it from
> the subject line, otherwise I will not receive your reply. It was pure luck
> that I noticed your message on the archives this time.
>
Sure... I usually do but I forgot this time. Sorry for that.
Since you seem to be the only affected person which I receive
mail from, I'll try to automate this on my side.
> Best regards,
> Christian Schoenebeck
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment
2022-03-02 18:30 [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment Christian Schoenebeck
2022-03-02 18:57 ` Peter Maydell
2022-03-03 9:53 ` [SPAM] " Greg Kurz
@ 2022-03-03 12:22 ` Christian Schoenebeck
2 siblings, 0 replies; 6+ messages in thread
From: Christian Schoenebeck @ 2022-03-03 12:22 UTC (permalink / raw)
To: qemu-devel; +Cc: Greg Kurz, Peter Maydell
On Mittwoch, 2. März 2022 19:30:39 CET Christian Schoenebeck 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+ENOM6x19OEF53Kd2DWkhN5SN21Va0D
> 7yepJSa3Jyg@mail.gmail.com/ Based-on:
> <E1nP9Oz-00043L-KJ@lizzy.crudebyte.com>
> Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> ---
> hw/9pfs/9p-util.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Queued on 9p.next:
https://github.com/cschoenebeck/qemu/commits/9p.next
Thanks!
Best regards,
Christian Schoenebeck
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-03-03 12:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-02 18:30 [PATCH] 9pfs: drop Doxygen format from qemu_dirent_dup() API comment Christian Schoenebeck
2022-03-02 18:57 ` Peter Maydell
2022-03-03 9:53 ` [SPAM] " Greg Kurz
2022-03-03 10:55 ` Christian Schoenebeck
2022-03-03 11:29 ` Greg Kurz
2022-03-03 12:22 ` Christian Schoenebeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).