Re: [PATCH 06/17] Use for instead of code duplication when parsing USB port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 17, 2016 at 20:07:08 +0200, Ján Tomko wrote:
> We are done if the string ends and move to another nesting
> level if we find a dot.
> ---
>  src/conf/device_conf.h |  3 +++
>  src/conf/domain_conf.c | 19 +++++++++++--------
>  2 files changed, 14 insertions(+), 8 deletions(-)
> 
> diff --git a/src/conf/device_conf.h b/src/conf/device_conf.h
> index 847564b..4903839 100644
> --- a/src/conf/device_conf.h
> +++ b/src/conf/device_conf.h
> @@ -118,6 +118,9 @@ typedef struct _virDomainDeviceCcidAddress {
>      unsigned int slot;
>  } virDomainDeviceCcidAddress, *virDomainDeviceCcidAddressPtr;
>  
> +/* chosen by fair dice roll */

Remove this line.

> +# define VIR_DOMAIN_DEVICE_USB_MAX_PORT_DEPTH 4
> +
>  typedef struct _virDomainDeviceUSBAddress {
>      unsigned int bus;
>      char *port;

ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]