From: "Jan Beulich" Subject: Re: [PATCH v3 10/11] x86/intel_pstate: support the use of intel_pstate in pmstat.c Date: Fri, 12 Jun 2015 09:39:29 +0100 Message-ID: <557AB6E102000078000840BA@mail.emea.novell.com> References: <1434011460-18222-1-git-send-email-wei.w.wang@intel.com> <557996ED.9060806@citrix.com> <286AC319A985734F985F78AFA26841F798D1CD@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <286AC319A985734F985F78AFA26841F798D1CD@shsmsx102.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei W Wang Cc: Julien Grall , "andrew.cooper3@citrix.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 12.06.15 at 05:03, 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