From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLgL1-0005Or-6W for qemu-devel@nongnu.org; Tue, 19 Jan 2016 19:09:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLgKx-0006q2-V8 for qemu-devel@nongnu.org; Tue, 19 Jan 2016 19:09:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLgKx-0006py-PP for qemu-devel@nongnu.org; Tue, 19 Jan 2016 19:09:23 -0500 References: <1453032795-12690-1-git-send-email-caoj.fnst@cn.fujitsu.com> <1453032795-12690-3-git-send-email-caoj.fnst@cn.fujitsu.com> From: Eric Blake Message-ID: <569ED032.80202@redhat.com> Date: Tue, 19 Jan 2016 17:09:22 -0700 MIME-Version: 1.0 In-Reply-To: <1453032795-12690-3-git-send-email-caoj.fnst@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8LighFKFOkARP0fAalmE1pPM0U0rcXHWm" Subject: Re: [Qemu-devel] [PATCH v6 2/6] Xen: use qemu_strtoul instead of strtol List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cao jin , qemu-devel@nongnu.org Cc: stefano.stabellini@eu.citrix.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8LighFKFOkARP0fAalmE1pPM0U0rcXHWm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/17/2016 05:13 AM, Cao jin wrote: > No need to roll our own (with slightly incorrect handling of errno), > when we can use the common version. >=20 > Change signed parsing to unsigned, because what it read are values in > PCI config space, which are non-negative. >=20 > Signed-off-by: Cao jin > --- > hw/xen/xen-host-pci-device.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --8LighFKFOkARP0fAalmE1pPM0U0rcXHWm 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/ iQEcBAEBCAAGBQJWntAyAAoJEKeha0olJ0NqwJ8H/RdXkQAemgUtSbIH3mk0s75Z Qw7DPIb4J7nqaI/lf6yWTcnDrRMyIpDlpnP4tOrsBiYhBhNS5zBsi5BFj8OG8vHM lnj5AbD2LCrBaA6x2ydTzwRlnU5Rv+X9azHjpI0vyffyBfZY7OrW8l+N46X368Ny QzVWf4Rd9IhCVHrgpsaAYYop9HCu/tW4E/dQeAhd52rdvv5/W9QDMUVszMRNS2Qr JgbtK+nScfJWwKDZw64rxRD/xXdnANOC4UesN+7H+Wu6FcDYS/OOV5gZ9oUvYS6S eZC8WryPaSrqmi5x7CtFecPojAODHNSgCqjYDhydwfXjw3e2Msiri8roYy6+zaA= =v6oF -----END PGP SIGNATURE----- --8LighFKFOkARP0fAalmE1pPM0U0rcXHWm--