qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] docs/devel: fix missing antislash


From: Alexandre IOOSS
Subject: Re: [PATCH] docs/devel: fix missing antislash
Date: Tue, 10 Aug 2021 12:12:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 8/9/21 8:14 PM, Eduardo Habkost wrote:
On Mon, Aug 09, 2021 at 07:31:41PM +0200, Alexandre Iooss wrote:
Signed-off-by: Alexandre Iooss <erdnaxe@crans.org>
---
  docs/devel/qom.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst
index e5fe3597cd..b9568c0fb8 100644
--- a/docs/devel/qom.rst
+++ b/docs/devel/qom.rst
@@ -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/20210729175554.686474-9-ehabkost@redhat.com


Oh I was not aware of that new patch, it looks great while also solving the anti-slash problem!

Thanks,
-- Alexandre

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]