[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/5] Xen: use qemu_strtoul instead of strtol
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/5] Xen: use qemu_strtoul instead of strtol |
Date: |
Thu, 14 Jan 2016 15:19:20 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
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.
>
> Change signed parsing to unsigned, because what it read are values in
> PCI config space, which are non-negative.
>
> Signed-off-by: Cao jin <address@hidden>
> ---
> hw/xen/xen-host-pci-device.c | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH v5 3/5] Add Error **errp for xen_pt_setup_vga(), Cao jin, 2016/01/13
[Qemu-devel] [PATCH v5 5/5] Xen PCI passthru: convert to realize(), Cao jin, 2016/01/13
[Qemu-devel] [PATCH v5 4/5] Add Error **errp for xen_pt_config_init(), Cao jin, 2016/01/13