[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V4 15/24] libxl: introduce libxl_cpuid_policy_list_length
On Tue, May 06, 2014 at 02:51:48PM +0100, Ian Campbell wrote: [...] > > > > +int libxl_cpuid_policy_list_length(libxl_cpuid_policy_list *l) > > +{ > > + int i = 0; > > + > > + if (*l) > > + while ((*l)[i].input[0] != XEN_CPUID_INPUT_UNUSED) > > Other functions of this type would assign *l to a temporary, I think > this should do the same. The prevalent style would make the parameter > *pl and then l = *pl. > No problem. ;-) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |