From: "Jan Beulich" Subject: Re: [PATCH] xen/vtd: cleanup some comments Date: Mon, 27 Oct 2014 09:19:50 +0000 Message-ID: <544E1C4602000078000424EE@mail.emea.novell.com> References: <1414119041-17891-1-git-send-email-tiejun.chen@intel.com> <544A46FE0200007800041DA2@mail.emea.novell.com> <544DA0E9.3000306@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <544DA0E9.3000306@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: Tiejun Chen Cc: yang.z.zhang@intel.com, kevin.tian@intel.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 27.10.14 at 02:33, wrote: > On 2014/10/24 18:33, Jan Beulich wrote: >>>>> On 24.10.14 at 04:50, wrote: >>> --- a/xen/drivers/passthrough/vtd/iommu.c >>> +++ b/xen/drivers/passthrough/vtd/iommu.c >>> @@ -1248,7 +1248,7 @@ static void __hwdom_init intel_iommu_hwdom_init(struct > domain *d) >>> >>> if ( !iommu_passthrough && !need_iommu(d) ) >>> { >>> - /* Set up 1:1 page table for dom0 */ >>> + /* Set up 1:1 page table for hardware domain */ >>> vtd_set_hwdom_mapping(d); >>> } >>> >>> @@ -1696,7 +1696,7 @@ static int intel_iommu_map_page( >>> if ( iommu_use_hap_pt(d) ) >>> return 0; >>> >>> - /* do nothing if dom0 and iommu supports pass thru */ >>> + /* do nothing if hardware domain and iommu supports pass thru */ >> >> If you clean up comments, please make them match ./CODING_STYLE. > > Sorry, could you say this explicitly? > > From my point of view, this is just one line and this line is already > less than 80 characters in length. Or just add a period at the end of > the sentence? Right (plus, in the second quoted case, upper case the first character). Jan