All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu: Rename domain_has_cap to iommu_domain_has_cap
@ 2013-12-11 20:19 Upinder Malhi (umalhi)
       [not found] ` <BE690ADD-E281-4326-87A0-7E2EE06658CF-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Upinder Malhi (umalhi) @ 2013-12-11 20:19 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
  Cc: Roland Dreier

domain_has_cap is a misnomer bc the func name should be 
the same for CONFIG_IOMMU_API and !CONFIG_IOMMU_API.

Signed-off-by: Upinder Malhi <umalhi-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
---
 include/linux/iommu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 7ea319e..7bb795c 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -289,8 +289,8 @@ static inline phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_ad
        return 0;
 }

-static inline int domain_has_cap(struct iommu_domain *domain,
-                                unsigned long cap)
+static inline int iommu_domain_has_cap(struct iommu_domain *domain,
+                                      unsigned long cap)
 {
        return 0;
 }
-- 
1.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iommu: Rename domain_has_cap to iommu_domain_has_cap
       [not found] ` <BE690ADD-E281-4326-87A0-7E2EE06658CF-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
@ 2014-01-07 14:32   ` Joerg Roedel
  0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2014-01-07 14:32 UTC (permalink / raw)
  To: Upinder Malhi (umalhi)
  Cc: Roland Dreier,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org

On Wed, Dec 11, 2013 at 08:19:56PM +0000, Upinder Malhi (umalhi) wrote:
> domain_has_cap is a misnomer bc the func name should be 
> the same for CONFIG_IOMMU_API and !CONFIG_IOMMU_API.
> 
> Signed-off-by: Upinder Malhi <umalhi-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-07 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 20:19 [PATCH] iommu: Rename domain_has_cap to iommu_domain_has_cap Upinder Malhi (umalhi)
     [not found] ` <BE690ADD-E281-4326-87A0-7E2EE06658CF-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2014-01-07 14:32   ` Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.