Re: [libvirt] [PATCH] util: Use new array management macros

2014-01-08 Thread Osier Yang
On 07/01/14 23:16, Eric Blake wrote: On 01/07/2014 08:03 AM, Osier Yang wrote: Like commit 94a26c7e from Eric Blake, the old fuzzy code should be replaced by the new array management macros now. And the type of scsi-count should be changed into size_t, and thus virSCSIDeviceListCount should

[libvirt] [PATCH] util: Use new array management macros

2014-01-07 Thread Osier Yang
Like commit 94a26c7e from Eric Blake, the old fuzzy code should be replaced by the new array management macros now. And the type of scsi-count should be changed into size_t, and thus virSCSIDeviceListCount should return size_t instead, similar for vir{PCI,USB}DeviceListCount. ---

Re: [libvirt] [PATCH] util: Use new array management macros

2014-01-07 Thread Eric Blake
On 01/07/2014 08:03 AM, Osier Yang wrote: Like commit 94a26c7e from Eric Blake, the old fuzzy code should be replaced by the new array management macros now. And the type of scsi-count should be changed into size_t, and thus virSCSIDeviceListCount should return size_t instead, similar for