[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ca1c84e2-f36f-4384-a3b4-4eb095bdaddc@amd.com>
Date: Tue, 29 Oct 2024 22:01:42 +0530
From: Vasant Hegde <vasant.hegde@....com>
To: Joerg Roedel <joro@...tes.org>, iommu@...ts.linux.dev
Cc: Will Deacon <will@...nel.org>, linux-kernel@...r.kernel.org,
Joerg Roedel <jroedel@...e.de>, Jason Gunthorpe <jgg@...pe.ca>
Subject: Re: [PATCH] iommu: Fix prototype of iommu_paging_domain_alloc_flags()
On 10/29/2024 4:28 PM, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@...e.de>
>
> The iommu_paging_domain_alloc_flags() prototype for
> non-iommu kernel configurations lacks the 'static inline'
> prefixes.
>
> Cc: Jason Gunthorpe <jgg@...pe.ca>
> Cc: Vasant Hegde <vasant.hegde@....com>
> Fixes: 20858d4ebb42 ("iommu: Introduce iommu_paging_domain_alloc_flags()")
> Signed-off-by: Joerg Roedel <jroedel@...e.de>
Sorry. I missed to fix this one.
Reviewed-by: Vasant Hegde <vasant.hegde@....com>
-Vasant
> ---
> include/linux/iommu.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/iommu.h b/include/linux/iommu.h
> index aa78d911fdda..522efdc7d815 100644
> --- a/include/linux/iommu.h
> +++ b/include/linux/iommu.h
> @@ -1080,7 +1080,7 @@ static inline bool device_iommu_capable(struct device *dev, enum iommu_cap cap)
> return false;
> }
>
> -struct iommu_domain *iommu_paging_domain_alloc_flags(struct device *dev,
> +static inline struct iommu_domain *iommu_paging_domain_alloc_flags(struct device *dev,
> unsigned int flags)
> {
> return ERR_PTR(-ENODEV);
Powered by blists - more mailing lists