All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE
@ 2022-07-12 10:31 Alex Bennée
  2022-07-12 10:35 ` Richard Henderson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alex Bennée @ 2022-07-12 10:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

Since 30b5707c26 (qom: Remove module_obj_name parameter from
OBJECT_DECLARE* macros) we don't need the additional two parameters.
Fix the documentation.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 docs/devel/qom.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst
index e5fe3597cd..0cf9a714f0 100644
--- a/docs/devel/qom.rst
+++ b/docs/devel/qom.rst
@@ -292,8 +292,7 @@ in the header file:
 .. code-block:: c
    :caption: Declaring a simple type
 
-   OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, my_device,
-                              MY_DEVICE, DEVICE)
+   OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, MY_DEVICE)
 
 This is equivalent to the following:
 
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE
  2022-07-12 10:31 [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE Alex Bennée
@ 2022-07-12 10:35 ` Richard Henderson
  2022-07-12 20:12 ` Philippe Mathieu-Daudé via
  2022-07-25 13:35 ` Alex Bennée
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2022-07-12 10:35 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 7/12/22 16:01, Alex Bennée wrote:
> Since 30b5707c26 (qom: Remove module_obj_name parameter from
> OBJECT_DECLARE* macros) we don't need the additional two parameters.
> Fix the documentation.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
>   docs/devel/qom.rst | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE
  2022-07-12 10:31 [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE Alex Bennée
  2022-07-12 10:35 ` Richard Henderson
@ 2022-07-12 20:12 ` Philippe Mathieu-Daudé via
  2022-07-25 13:35 ` Alex Bennée
  2 siblings, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé via @ 2022-07-12 20:12 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 12/7/22 12:31, Alex Bennée wrote:
> Since 30b5707c26 (qom: Remove module_obj_name parameter from
> OBJECT_DECLARE* macros) we don't need the additional two parameters.
> Fix the documentation.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   docs/devel/qom.rst | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE
  2022-07-12 10:31 [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE Alex Bennée
  2022-07-12 10:35 ` Richard Henderson
  2022-07-12 20:12 ` Philippe Mathieu-Daudé via
@ 2022-07-25 13:35 ` Alex Bennée
  2 siblings, 0 replies; 4+ messages in thread
From: Alex Bennée @ 2022-07-25 13:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée


Alex Bennée <alex.bennee@linaro.org> writes:

> Since 30b5707c26 (qom: Remove module_obj_name parameter from
> OBJECT_DECLARE* macros) we don't need the additional two parameters.
> Fix the documentation.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  docs/devel/qom.rst | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst
> index e5fe3597cd..0cf9a714f0 100644
> --- a/docs/devel/qom.rst
> +++ b/docs/devel/qom.rst
> @@ -292,8 +292,7 @@ in the header file:
>  .. code-block:: c
>     :caption: Declaring a simple type
>  
> -   OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, my_device,
> -                              MY_DEVICE, DEVICE)
> +   OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, MY_DEVICE)
>  
>  This is equivalent to the following:

Queued to testing/next, thanks.

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-25 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 10:31 [RFC PATCH] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE Alex Bennée
2022-07-12 10:35 ` Richard Henderson
2022-07-12 20:12 ` Philippe Mathieu-Daudé via
2022-07-25 13:35 ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.