From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB6yk-0007AF-MK for qemu-devel@nongnu.org; Thu, 09 Jun 2016 16:55:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB6yj-0008RC-4y for qemu-devel@nongnu.org; Thu, 09 Jun 2016 16:55:02 -0400 References: <1465494036-23928-1-git-send-email-ehabkost@redhat.com> <5759C573.1070403@redhat.com> <20160609202134.GZ18662@thinpad.lan.raisama.net> <20160609204740.GA18662@thinpad.lan.raisama.net> From: Eric Blake Message-ID: <5759D79B.9040509@redhat.com> Date: Thu, 9 Jun 2016 14:54:51 -0600 MIME-Version: 1.0 In-Reply-To: <20160609204740.GA18662@thinpad.lan.raisama.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2t0sVxL1rQtggV9mTcVcDnSNDViuP8sVT" Subject: Re: [Qemu-devel] [PATCH] error: Avoid redudant error_propagate() usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, Markus Armbruster , kwolf@redhat.com, cornelia.huck@de.ibm.com, mreitz@redhat.com, qemu-block@nongnu.org, borntraeger@de.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2t0sVxL1rQtggV9mTcVcDnSNDViuP8sVT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/09/2016 02:47 PM, Eduardo Habkost wrote: > On Thu, Jun 09, 2016 at 05:21:34PM -0300, Eduardo Habkost wrote: >> This patch simplifies code that uses a local_err variable just to imme= diately >> use it for an error_propagate() call. >=20 > Please ignore this one. I found a better way to tell Coccinelle > to do that. Updated Coccinelle patch is below, but I will send > the actual patch tomorrow. Cool. Worth sticking these in scripts/coccinelle/ as part of your commit so that we can rerun them later (and refer to them for ideas when writing new scripts)? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --2t0sVxL1rQtggV9mTcVcDnSNDViuP8sVT 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/ iQEcBAEBCAAGBQJXWdebAAoJEKeha0olJ0Nqe/gH/1GiYD2umv3UXrCPv2qiAShj qbW9I7PQVfBHC5s2tdG0UX8y3ucHX7nGDkiYBA7wXn+LIBzi9kc7Qn61vNAoIWTu MgKhZHHS+Pqx4pmO+0FnBBQVQ6OlkOOa8EMFBzTy4+SiOiJJ1by00Y2qmAzhreZj yMsj8X/zkK7/LGNWSfhE2YNIutJfsEZIgSpV5qXzxY8oEPyFci/+xp89H40RTLCr QvVNv6jI40x2HzWgN/ZXdvc7uuTPBmwpJ8uK7g7bqqhklWw9s15DlmgaDRd59+oA sc99qRgL2lJwBd+QOWok34h/uqCleEvMkrLwsTT+aBCOGp/FrVEdpmYSgZwNPpo= =RmH3 -----END PGP SIGNATURE----- --2t0sVxL1rQtggV9mTcVcDnSNDViuP8sVT--