From: Eric Blake Subject: Re: [Qemu-devel] [PATCH v2 2/6] qdict: Add convenience helpers for wrapped puts Date: Wed, 5 Apr 2017 10:16:01 -0500 Message-ID: References: <20170118161653.19296-1-eblake@redhat.com> <20170118161653.19296-3-eblake@redhat.com> <87lgu7flkc.fsf@dusky.pond.sub.org> <9e16eb02-dc8b-b25f-0aba-d4a9ff3b5a02@redhat.com> <274218e6-5539-9eef-56bc-c2de4d11a593@redhat.com> <20170405081835.GB30620@redhat.com> <20170405082443.GD30620@redhat.com> <20170405090151.GK30620@redhat.com> <1af948cb-4fbd-8ae4-8690-8a3f9e439987@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5328710660278123879==" Return-path: In-Reply-To: <1af948cb-4fbd-8ae4-8690-8a3f9e439987@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Paolo Bonzini , "Richard W.M. Jones" , Julia Lawall Cc: Kevin Wolf , Stefano Stabellini , Alberto Garcia , Michael Roth , "open list:Block layer core" , qemu-devel@nongnu.org, Stefan Weil , Jeff Cody , Peter Lieven , Alexander Graf , Markus Armbruster , Chrysostomos Nanakos , "open list:X86" , Gerd Hoffmann , Ronnie Sahlberg , Anthony Perard , Fam Zheng , Max Reitz , Stefan Hajnoczi , "Dr. David Alan Gilbert" , Richard Henderson List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============5328710660278123879== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="G4n5HORm51WdufPits8VfwX2lV6mMQVrR" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --G4n5HORm51WdufPits8VfwX2lV6mMQVrR Content-Type: multipart/mixed; boundary="n61DJbhLj1TPIIUHl0dSxS5UVJsgvGEGJ"; protected-headers="v1" From: Eric Blake To: Paolo Bonzini , "Richard W.M. Jones" , Julia Lawall Cc: Markus Armbruster , Ronnie Sahlberg , Jeff Cody , qemu-devel@nongnu.org, Alexander Graf , Gerd Hoffmann , Stefano Stabellini , Alberto Garcia , "open list:Block layer core" , Michael Roth , Anthony Perard , Fam Zheng , Chrysostomos Nanakos , Stefan Weil , Peter Lieven , "Dr. David Alan Gilbert" , "open list:X86" , Stefan Hajnoczi , Richard Henderson , Kevin Wolf , Max Reitz Message-ID: Subject: Re: [Qemu-devel] [PATCH v2 2/6] qdict: Add convenience helpers for wrapped puts References: <20170118161653.19296-1-eblake@redhat.com> <20170118161653.19296-3-eblake@redhat.com> <87lgu7flkc.fsf@dusky.pond.sub.org> <9e16eb02-dc8b-b25f-0aba-d4a9ff3b5a02@redhat.com> <274218e6-5539-9eef-56bc-c2de4d11a593@redhat.com> <20170405081835.GB30620@redhat.com> <20170405082443.GD30620@redhat.com> <20170405090151.GK30620@redhat.com> <1af948cb-4fbd-8ae4-8690-8a3f9e439987@redhat.com> In-Reply-To: <1af948cb-4fbd-8ae4-8690-8a3f9e439987@redhat.com> --n61DJbhLj1TPIIUHl0dSxS5UVJsgvGEGJ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/05/2017 06:54 AM, Paolo Bonzini wrote: >=20 >=20 > On 05/04/2017 11:01, Richard W.M. Jones wrote: >> On Wed, Apr 05, 2017 at 10:38:37AM +0200, Julia Lawall wrote: >>> OK, there is nothing special about g_assert_cmpint, but Coccinelle ex= pects >>> expressions or types in function argument lists, so it gives a parse = error >>> on finding an =3D=3D. >> >> I should have checked the coccinelle mailing list before asking you, >> because I see that Eric already asked this question and you answered >> it. For reference, that is here: >> >> https://systeme.lip6.fr/pipermail/cocci/2017-April/004107.html >> >> Thanks again, >=20 > Eric, are you using the scripts/cocci-macro-file.h? >=20 > commit 6ad978e9f40d3edfd9f4a86b4a60e3523eff08fe > Author: Paolo Bonzini > Date: Wed May 18 11:11:55 2016 +0200 >=20 > coccinelle: add g_assert_cmp* to macro file >=20 > This helps applying semantic patches to unit tests. >=20 > Signed-off-by: Paolo Bonzini Didn't even realize it existed. I've updated my spatch command line accordingly. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --n61DJbhLj1TPIIUHl0dSxS5UVJsgvGEGJ-- --G4n5HORm51WdufPits8VfwX2lV6mMQVrR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJY5QozAAoJEKeha0olJ0NqZyIH/RSZS/jQOwKXKsvIFR5k0ouu jjw+X8+DRTJHxheNmb0/Tem37BZNpx1WHZ2HDkfCccYFwSc3mIXp7W73aZ8EC51F fP9yebnT/nK3ipcSTGCi/CfLE9qOQFJzhx1capNCAeOW1cPkjSRXD7A8HKAjsqwX A7tDHVr0nXbIOCbNTsw6swwOIgYYLNeLKfyUZCBGYjVM1db+rncFIQHL0sDX7HNz OWk0jh5Wd3AZsyIAKVqsfhxr43hBQ2REYXb87xbvceVLXxLSNVBxVMpwbFx/z6Y2 bLKXi/0Ko9MjZmYoON5ADzFjLpTlkYTFLY9reUeFu5KkpmttA9ko9+oC+KF3VYc= =YUAs -----END PGP SIGNATURE----- --G4n5HORm51WdufPits8VfwX2lV6mMQVrR-- --===============5328710660278123879== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============5328710660278123879==--