From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgadX-0006H0-LH for qemu-devel@nongnu.org; Mon, 28 Sep 2015 11:46:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgadU-00049F-Af for qemu-devel@nongnu.org; Mon, 28 Sep 2015 11:46:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgadU-000497-5Y for qemu-devel@nongnu.org; Mon, 28 Sep 2015 11:46:40 -0400 References: <1443085502-596-1-git-send-email-kraxel@redhat.com> <1443085502-596-5-git-send-email-kraxel@redhat.com> From: Max Reitz Message-ID: <560960DA.5060104@redhat.com> Date: Mon, 28 Sep 2015 17:46:34 +0200 MIME-Version: 1.0 In-Reply-To: <1443085502-596-5-git-send-email-kraxel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BjvlFVAuxmXtkPM5BMf8oFiHaHPfbLsiB" Subject: Re: [Qemu-devel] [PATCH v2 04/11] virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel@nongnu.org Cc: David Airlie , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , "Michael S. Tsirkin" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BjvlFVAuxmXtkPM5BMf8oFiHaHPfbLsiB Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 24.09.2015 11:04, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > hw/display/virtio-gpu.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Max Reitz You could even make the parameter a struct iovec **, which is then set to NULL by virtio_gpu_cleanup_mapping_iov() itself (because both callers set their iovec pointer to NULL). --BjvlFVAuxmXtkPM5BMf8oFiHaHPfbLsiB 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 iQEcBAEBCAAGBQJWCWDaAAoJEDuxQgLoOKytYP4H/2jf1ORBn2U98h7LiGOCjA82 keHb4HNXutXU8kxnZKAD6zCcRr0EQVJ2HFcK+I+oSkDFnVXD/X+CAG0yTHdbbfYp NjgKxxah+p72ZtBdqhPuux2GEPrgdBrX3XLEiUTNevgvJtFHAX45TgD+9GI2Pm5m cLU89Xx/wnobEI9To7jRYvres1n9ULJc/2JcMa9/NSDlRrvFKHmiCp5lYqWllZXQ Bn038aaALYNGokJMG9AH29wavqRr5eeTx4C4CT+2TC7mXkTARG4xMDgoVvRlYeHq EuOTa1yWVFvXgEZUVU1jyZkb8DqGXNAQMZlNVSvyd+dhxITrpOiOpXTjVkSOX+I= =QN4A -----END PGP SIGNATURE----- --BjvlFVAuxmXtkPM5BMf8oFiHaHPfbLsiB--