From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJqEp-0002ws-Fr for qemu-devel@nongnu.org; Thu, 14 Jan 2016 17:19:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJqEl-0005Rb-7a for qemu-devel@nongnu.org; Thu, 14 Jan 2016 17:19:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJqEl-0005Qg-22 for qemu-devel@nongnu.org; Thu, 14 Jan 2016 17:19:23 -0500 References: <1452689507-8188-1-git-send-email-caoj.fnst@cn.fujitsu.com> <1452689507-8188-2-git-send-email-caoj.fnst@cn.fujitsu.com> From: Eric Blake Message-ID: <56981EE8.9050301@redhat.com> Date: Thu, 14 Jan 2016 15:19:20 -0700 MIME-Version: 1.0 In-Reply-To: <1452689507-8188-2-git-send-email-caoj.fnst@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ABxcuAlLOD4BSbIRhXBqw2eCe3vKaqf6L" Subject: Re: [Qemu-devel] [PATCH v5 1/5] 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) --ABxcuAlLOD4BSbIRhXBqw2eCe3vKaqf6L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/13/2016 05:51 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 | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --ABxcuAlLOD4BSbIRhXBqw2eCe3vKaqf6L 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/ iQEcBAEBCAAGBQJWmB7oAAoJEKeha0olJ0NqCjkH/3SZeVLnpdT3LeZBF/hAaO6v i1O2VrSlas2rRrBWq+uj8zXGPEk1eYOqBa63qJg9YuO6vYlKhqSCTQsXVmueonQo nd+2d7uSgYq/poqEXS3BpWaG5grjrdYRXkWcRVtDRceIFqvXCvnxno5eYvLRexdL kHDTUmI31qnFRZr18fTlp7q8Tf0gLqRCW1JdmjcV/2izC1SJZc6u5qKo+0I2SzTr 2o5tQBlrDqxZRJy+sXlFhHYihs2kcwPr77+GXpm7AD5N/d0mG83HGaZ75VOpPXXw 4/ObhiALtPBF3rtMerwGRw6xeyUlU8PIpk3U6ZYeK0mhoCl2yIaJLvVD///UzxA= =ykAC -----END PGP SIGNATURE----- --ABxcuAlLOD4BSbIRhXBqw2eCe3vKaqf6L--