Received: from eggs.gnu.org ([2001:4830:134:3::10]:45927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzO6M-0007yD-C3 for qemu-devel@nongnu.org; Wed, 26 Oct 2016 09:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzO6H-00028e-F4 for qemu-devel@nongnu.org; Wed, 26 Oct 2016 09:18:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44106) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzO6H-00028T-9Q for qemu-devel@nongnu.org; Wed, 26 Oct 2016 09:18:37 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8031B67EA8 for ; Wed, 26 Oct 2016 13:18:36 +0000 (UTC) References: <1477453806-21097-1-git-send-email-famz@redhat.com> From: Eric Blake Message-ID: <0f7cb0a8-ae5f-f115-0e02-e6e13d0bab23@redhat.com> Date: Wed, 26 Oct 2016 08:18:35 -0500 MIME-Version: 1.0 In-Reply-To: <1477453806-21097-1-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eP5LnkDFTOjOSkkG5HTNTQXTwdfjRJwtN" Subject: Re: [Qemu-devel] [PATCH v2] trace: Fix 'char **' compilation error in simple backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eP5LnkDFTOjOSkkG5HTNTQXTwdfjRJwtN From: Eric Blake To: Fam Zheng , qemu-devel@nongnu.org Cc: Stefan Hajnoczi Message-ID: <0f7cb0a8-ae5f-f115-0e02-e6e13d0bab23@redhat.com> Subject: Re: [PATCH v2] trace: Fix 'char **' compilation error in simple backend References: <1477453806-21097-1-git-send-email-famz@redhat.com> In-Reply-To: <1477453806-21097-1-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/25/2016 10:50 PM, Fam Zheng wrote: > Currently, the generated function body will do "strlen(arg)" but the > argument could be 'char **' or 'char * const *'. Avoid that by excludin= g > such cases in is_string check. >=20 > Reported by patchew's "make docker-test-mingw@fedora". >=20 > Suggested-by: Eric Blake > Signed-off-by: Fam Zheng >=20 > --- >=20 > v2: Fix typo in commit message and "yeah we'll be counting stars". [Er= ic] I may have had the vague idea, but you eloquently framed it into code, and let me learn in the process :) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --eP5LnkDFTOjOSkkG5HTNTQXTwdfjRJwtN 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/ iQEcBAEBCAAGBQJYEK0rAAoJEKeha0olJ0Nqu24H+wf5HxlHKmjpr5nRtxOQroaD 0hJ3+8gU7Y2kT+hKwv8q20OuTqK4MPtt5nn2MdjAkjbY0q1rMi9Wvw/My1IpRDqM uB947jDjgxYWjTAACTugaZGvQ/npVrztZZ5/wD9CJ6EOV+zUjDws3bggxz0b6HRh 150/bE7ePSpVAJBL2gzPINp5su0b4vyhdUAi9uQ9hON7WVwPWpudyMPAG8pL8RKv 9yIlF3rktt5yxgRJhyuLLWGZokHVsUDG4PTRENiFWOwF36O1D7aqSXJIQfWep3uV j6I55sLSp25zT/cZM8Zv8cmz0bIcwSOs6H/JvUtUzIXUGfKjQCpjj8e8wYXFMVo= =oOBi -----END PGP SIGNATURE----- --eP5LnkDFTOjOSkkG5HTNTQXTwdfjRJwtN--