From: "Jan Beulich" Subject: Re: [PATCH v2 02/15] xen/passthrough: vtd: Don't export iommu_domain_teardown Date: Mon, 24 Feb 2014 12:18:36 +0000 Message-ID: <530B46AC020000780011EB91@nat28.tlf.novell.com> References: <1393193792-20008-1-git-send-email-julien.grall@linaro.org> <1393193792-20008-3-git-send-email-julien.grall@linaro.org> <530B3C5C020000780011EB3D@nat28.tlf.novell.com> <530B36CD.3020302@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WHuUZ-0007It-Uk for xen-devel@lists.xenproject.org; Mon, 24 Feb 2014 12:18:40 +0000 In-Reply-To: <530B36CD.3020302@linaro.org> 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: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com, Xiantao Zhang , tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 24.02.14 at 13:10, Julien Grall wrote: > On 02/24/2014 11:34 AM, Jan Beulich wrote: >>>>> On 23.02.14 at 23:16, Julien Grall wrote: >>> iommu_domain_teardown is only used internally in >>> xen/drivers/passthrough/vtd/iommu.c >>> >>> Signed-off-by: Julien Grall >>> Acked-by: Ian Cambell >>> Cc: Xiantao Zhang >>> --- >>> xen/drivers/passthrough/vtd/iommu.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/xen/drivers/passthrough/vtd/iommu.c >>> b/xen/drivers/passthrough/vtd/iommu.c >>> index 5f10034..a8d33fc 100644 >>> --- a/xen/drivers/passthrough/vtd/iommu.c >>> +++ b/xen/drivers/passthrough/vtd/iommu.c >>> @@ -1701,7 +1701,7 @@ static int reassign_device_ownership( >>> return ret; >>> } >>> >>> -void iommu_domain_teardown(struct domain *d) >>> +static void iommu_domain_teardown(struct domain *d) >>> { >>> struct hvm_iommu *hd = domain_hvm_iommu(d); >>> >> >> Please build-test your changes - this was lacking the removal of >> the function's declaration from xen/iommu.h. > > Actually I did the build test on x86 ... By mistake I remove the > function's declaration in the wrong patch "xen/passthrough: iommu: Split > generic IOMMU code". So I suppose you build tested the whole series, but not each individual patch... > I will fix it in the next patch series. In the sense that you need to drop the change from the later patch then, as I applied the trivial three patches from the series already. Jan