[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/6] qom: Fix DECLARE_*CHECKER documentation
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 1/6] qom: Fix DECLARE_*CHECKER documentation |
Date: |
Sat, 3 Oct 2020 19:56:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 10/3/20 4:54 AM, Eduardo Habkost wrote:
> Correct copy/paste mistake in the DECLARE_INSTANCE_CHECKER and
> DECLARE_CLASS_CHECKERS documentation.
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> include/qom/object.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/qom/object.h b/include/qom/object.h
> index 27aaa67e63f..e738dfc6744 100644
> --- a/include/qom/object.h
> +++ b/include/qom/object.h
> @@ -170,7 +170,7 @@ struct Object
> * Direct usage of this macro should be avoided, and the complete
> * OBJECT_DECLARE_TYPE macro is recommended instead.
> *
> - * This macro will provide the three standard type cast functions for a
> + * This macro will provide the the instance type cast functions for a
Using a single "the":
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> * QOM type.
> */
> #define DECLARE_INSTANCE_CHECKER(InstanceType, OBJ_NAME, TYPENAME) \
> @@ -187,7 +187,7 @@ struct Object
> * Direct usage of this macro should be avoided, and the complete
> * OBJECT_DECLARE_TYPE macro is recommended instead.
> *
> - * This macro will provide the three standard type cast functions for a
> + * This macro will provide the class type cast functions for a
> * QOM type.
> */
> #define DECLARE_CLASS_CHECKERS(ClassType, OBJ_NAME, TYPENAME) \
>
- [PATCH 0/6] qom documentation fixes, Eduardo Habkost, 2020/10/02
- [PATCH 2/6] docs/devel/qom: Fix indentation of bulleted list, Eduardo Habkost, 2020/10/02
- [PATCH 1/6] qom: Fix DECLARE_*CHECKER documentation, Eduardo Habkost, 2020/10/02
- Re: [PATCH 1/6] qom: Fix DECLARE_*CHECKER documentation,
Philippe Mathieu-Daudé <=
- [PATCH 3/6] docs/devel/qom: Fix indentation of code blocks, Eduardo Habkost, 2020/10/02
- [PATCH 4/6] docs/devel/qom: Use *emphasis* for emphasis, Eduardo Habkost, 2020/10/02
- [PATCH 6/6] docs/devel/qom: Avoid long lines, Eduardo Habkost, 2020/10/02
- [PATCH 5/6] docs/devel/qom: Remove usage of <code>, Eduardo Habkost, 2020/10/02
- Re: [PATCH 0/6] qom documentation fixes, Paolo Bonzini, 2020/10/03