* [Qemu-devel] [PATCH] qdev: fix a typo in comment
@ 2018-09-05 6:49 Li Qiang
2018-09-20 18:00 ` [Qemu-trivial] " Markus Armbruster
0 siblings, 1 reply; 2+ messages in thread
From: Li Qiang @ 2018-09-05 6:49 UTC (permalink / raw)
To: pbonzini, armbru, f4bug; +Cc: qemu-devel, Li Qiang
Found by reading code.
Signed-off-by: Li Qiang <liq3ea@gmail.com>
---
hw/core/qdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 529b82de18..7e4bfcb8f7 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -643,7 +643,7 @@ static void qdev_get_legacy_property(Object *obj, Visitor *v,
* the string depends on the property type. Legacy properties are only
* needed for "info qtree".
*
- * Do not use this is new code! QOM Properties added through this interface
+ * Do not use this in new code! QOM Properties added through this interface
* will be given names in the "legacy" namespace.
*/
static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-trivial] [Qemu-devel] [PATCH] qdev: fix a typo in comment
2018-09-05 6:49 [Qemu-devel] [PATCH] qdev: fix a typo in comment Li Qiang
@ 2018-09-20 18:00 ` Markus Armbruster
0 siblings, 0 replies; 2+ messages in thread
From: Markus Armbruster @ 2018-09-20 18:00 UTC (permalink / raw)
To: Li Qiang; +Cc: pbonzini, f4bug, qemu-devel, qemu-trivial
Could be merged via qemu-trivial (cc'ed).
Li Qiang <liq3ea@gmail.com> writes:
> Found by reading code.
>
> Signed-off-by: Li Qiang <liq3ea@gmail.com>
> ---
> hw/core/qdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/core/qdev.c b/hw/core/qdev.c
> index 529b82de18..7e4bfcb8f7 100644
> --- a/hw/core/qdev.c
> +++ b/hw/core/qdev.c
> @@ -643,7 +643,7 @@ static void qdev_get_legacy_property(Object *obj, Visitor *v,
> * the string depends on the property type. Legacy properties are only
> * needed for "info qtree".
> *
> - * Do not use this is new code! QOM Properties added through this interface
> + * Do not use this in new code! QOM Properties added through this interface
> * will be given names in the "legacy" namespace.
> */
> static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-20 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-05 6:49 [Qemu-devel] [PATCH] qdev: fix a typo in comment Li Qiang
2018-09-20 18:00 ` [Qemu-trivial] " Markus Armbruster
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.