docs/devel: fix missing antislash
PATCH 1/1 docs/devel: fix missing antislash
Signed-off-by Alexandre Iooss <[email protected]>
--- docs/devel/qom.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
docs/devel/qom.rst +1 -1
@@ -309,7 +309,7 @@ This is equivalent to the following: OBJECT_GET_CLASS(MyDeviceClass, obj, TYPE_MY_DEVICE) #define MY_DEVICE_CLASS(void *klass) \ OBJECT_CLASS_CHECK(MyDeviceClass, klass, TYPE_MY_DEVICE) - #define MY_DEVICE(void *obj) + #define MY_DEVICE(void *obj) \ OBJECT_CHECK(MyDevice, obj, TYPE_MY_DEVICE) struct MyDeviceClass {
Signature · 1 line
2.31.1
Quoted 10 lines · Alexandre Iooss
Signed-off-by Alexandre Iooss <[email protected]>--- docs/devel/qom.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)docs/devel/qom.rst +0
-0
docs/devel/qom.rst This is equivalent to the following: · line 313
Quoted 6 lines
docs/devel/qom.rst +1
-1@@ -309,7 +309,7 @@ This is equivalent to the following: OBJECT_GET_CLASS(MyDeviceClass, obj, TYPE_MY_DEVICE) #define MY_DEVICE_CLASS(void *klass) \ OBJECT_CLASS_CHECK(MyDeviceClass, klass, TYPE_MY_DEVICE) - #define MY_DEVICE(void *obj) + #define MY_DEVICE(void *obj) \ OBJECT_CHECK(MyDevice, obj, TYPE_MY_DEVICE)
Oops, nice catch!
However, the code above is already going to be deleted by:
https://lore.kernel.org/qemu-devel/[email protected]
Signature · 1 line
Eduardo
Quoted 20 lines · Eduardo Habkost
Quoted 10 lines · Alexandre Iooss
Signed-off-by Alexandre Iooss <[email protected]>--- docs/devel/qom.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)docs/devel/qom.rst +0
-0docs/devel/qom.rst This is equivalent to the following: · line 313
Quoted 6 lines
docs/devel/qom.rst +1
-1@@ -309,7 +309,7 @@ This is equivalent to the following: OBJECT_GET_CLASS(MyDeviceClass, obj, TYPE_MY_DEVICE) #define MY_DEVICE_CLASS(void *klass) \ OBJECT_CLASS_CHECK(MyDeviceClass, klass, TYPE_MY_DEVICE) - #define MY_DEVICE(void *obj) + #define MY_DEVICE(void *obj) \ OBJECT_CHECK(MyDevice, obj, TYPE_MY_DEVICE)Oops, nice catch!
Quoted 3 lines
However, the code above is already going to be deleted by:
https://lore.kernel.org/qemu-devel/[email protected]
Oh I was not aware of that new patch, it looks great while also solving the anti-slash problem!
Thanks,
-- Alexandre