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

Re: [Xen-devel] [v2 01/11] vmx: add new boot parameter to control PML enabling



On Wed, Apr 15, 2015 at 8:20 PM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
>>>> On 15.04.15 at 09:03, <kai.huang@xxxxxxxxxxxxxxx> wrote:
>> +static void __init parse_ept_param(char *s)
>> +{
>> +    char *ss;
>> +    int val;
>
> bool_t, and would better move ...
>
>> +
>> +    do {
>> +        val = !!strncmp(s, "no-", 3);
>
> ... here (making the right side expression its intializer).

Hi Jan,

Thanks for review. Do you mean below?

    do {
        bool_t val = !!strncmp(s,  "no-", 3);
        ...

Thanks,
-Kai
>
> Jan
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



-- 
Thanks,
-Kai

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.