Skip to contentSkip to conversation

qdev: fix a typo in comment

PATCH In review Li Qiang 2 participants 2 messages Sep 5, 2018 – Sep 20, 2018

lore
Share & tools
lore

Li Qiang

author
#0 lore raw

PATCH 1/1 qdev: fix a typo in comment

Found by reading code.

---
 hw/core/qdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/core/qdev.c +1 -1
index 529b82de18..7e4bfcb8f7 100644
@@ -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,
Signature · 1 line
2.11.0
#1 lore raw

Could be merged via qemu-trivial (cc'ed).

Quoted 20 lines · Li Qiang

Found by reading code.

---
 hw/core/qdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/core/qdev.c +1 -1
index 529b82de18..7e4bfcb8f7 100644
@@ -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,