* [PATCH] iommu: Add empty stub for iommu_group_get_by_id()
@ 2013-11-21 6:41 Alexey Kardashevskiy
2013-12-24 5:10 ` Alexey Kardashevskiy
2013-12-30 14:18 ` Joerg Roedel
0 siblings, 2 replies; 3+ messages in thread
From: Alexey Kardashevskiy @ 2013-11-21 6:41 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Alexey Kardashevskiy, Joerg Roedel, linux-kernel
Almost every function in include/linux/iommu.h has an empty stub
but the iommu_group_get_by_id() did not get one by mistake.
This adds an empty stub for iommu_group_get_by_id() for IOMMU_API
disabled config.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
include/linux/iommu.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 7ea319e..3c7903d 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -245,6 +245,11 @@ static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus)
return NULL;
}
+static inline struct iommu_group *iommu_group_get_by_id(int id)
+{
+ return NULL;
+}
+
static inline void iommu_domain_free(struct iommu_domain *domain)
{
}
--
1.8.4.rc4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iommu: Add empty stub for iommu_group_get_by_id()
2013-11-21 6:41 [PATCH] iommu: Add empty stub for iommu_group_get_by_id() Alexey Kardashevskiy
@ 2013-12-24 5:10 ` Alexey Kardashevskiy
2013-12-30 14:18 ` Joerg Roedel
1 sibling, 0 replies; 3+ messages in thread
From: Alexey Kardashevskiy @ 2013-12-24 5:10 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Alexey Kardashevskiy, Joerg Roedel, linux-kernel
On 11/21/2013 05:41 PM, Alexey Kardashevskiy wrote:
> Almost every function in include/linux/iommu.h has an empty stub
> but the iommu_group_get_by_id() did not get one by mistake.
>
> This adds an empty stub for iommu_group_get_by_id() for IOMMU_API
> disabled config.
Ping?
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---
> include/linux/iommu.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/iommu.h b/include/linux/iommu.h
> index 7ea319e..3c7903d 100644
> --- a/include/linux/iommu.h
> +++ b/include/linux/iommu.h
> @@ -245,6 +245,11 @@ static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus)
> return NULL;
> }
>
> +static inline struct iommu_group *iommu_group_get_by_id(int id)
> +{
> + return NULL;
> +}
> +
> static inline void iommu_domain_free(struct iommu_domain *domain)
> {
> }
>
--
Alexey
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iommu: Add empty stub for iommu_group_get_by_id()
2013-11-21 6:41 [PATCH] iommu: Add empty stub for iommu_group_get_by_id() Alexey Kardashevskiy
2013-12-24 5:10 ` Alexey Kardashevskiy
@ 2013-12-30 14:18 ` Joerg Roedel
1 sibling, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2013-12-30 14:18 UTC (permalink / raw)
To: Alexey Kardashevskiy; +Cc: linuxppc-dev, linux-kernel
On Thu, Nov 21, 2013 at 05:41:14PM +1100, Alexey Kardashevskiy wrote:
> Almost every function in include/linux/iommu.h has an empty stub
> but the iommu_group_get_by_id() did not get one by mistake.
>
> This adds an empty stub for iommu_group_get_by_id() for IOMMU_API
> disabled config.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-30 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 6:41 [PATCH] iommu: Add empty stub for iommu_group_get_by_id() Alexey Kardashevskiy
2013-12-24 5:10 ` Alexey Kardashevskiy
2013-12-30 14:18 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).