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

Re: [Xen-devel] [PATCH v3 10/11] x86/intel_pstate: support the use of intel_pstate in pmstat.c



>>> On 12.06.15 at 05:03, <wei.w.wang@xxxxxxxxx> wrote:
> On 11/06/2015 22:02, Julien Grall wrote:
>> On 11/06/2015 04:31, Wei Wang wrote:
>> > +    else
>> > +    {
>> > +        list_for_each(pos, &cpufreq_governor_list)
>> >           gov_num++;
>> 
>> The indentation looks wrong to me.
> 
> It has four "+$", should be correct.

The gov_num++ is supposedly the body of the list_for_each(), and
hence needs to be indented by four more spaces than the loop header
(i.e. a total of 12).

Jan


_______________________________________________
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®.