Received: from eggs.gnu.org ([2001:4830:134:3::10]:42859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egutN-0000ZI-HO for qemu-devel@nongnu.org; Wed, 31 Jan 2018 11:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egutE-0007xB-0X for qemu-devel@nongnu.org; Wed, 31 Jan 2018 11:05:45 -0500 From: Alberto Garcia In-Reply-To: <20180120154412.9990-3-mreitz@redhat.com> References: <20180120154412.9990-1-mreitz@redhat.com> <20180120154412.9990-3-mreitz@redhat.com> Date: Wed, 31 Jan 2018 17:05:18 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 2/6] qapi: Replace qobject_to_X(o) by qobject_to(o, X) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Markus Armbruster , Eric Blake , Kevin Wolf On Sat 20 Jan 2018 04:44:08 PM CET, Max Reitz wrote: > This patch was generated using the following Coccinelle script: > > @@ > expression Obj; > @@ > ( > - qobject_to_qnum(Obj) > + qobject_to(Obj, QNum) > | > - qobject_to_qstring(Obj) > + qobject_to(Obj, QString) > | > - qobject_to_qdict(Obj) > + qobject_to(Obj, QDict) > | > - qobject_to_qlist(Obj) > + qobject_to(Obj, QList) > | > - qobject_to_qbool(Obj) > + qobject_to(Obj, QBool) > ) > > and a bit of manual fix-up for overly long lines and three places in > tests/check-qjson.c that Coccinelle did not find. > > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Berto