2020-10-23 08:04:30

by Chen Jun

[permalink] [raw]
Subject: [PATCH] iommu: Modify the description of iommu_sva_unbind_device

From: Chen Jun <[email protected]>

iommu_sva_unbind_device has no return value.

Remove the description of the return value of the function.

Signed-off-by: Chen Jun <[email protected]>
---
drivers/iommu/iommu.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 8c470f4..bb51d53 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -2995,8 +2995,6 @@ EXPORT_SYMBOL_GPL(iommu_sva_bind_device);
* Put reference to a bond between device and address space. The device should
* not be issuing any more transaction for this PASID. All outstanding page
* requests for this PASID must have been flushed to the IOMMU.
- *
- * Returns 0 on success, or an error value
*/
void iommu_sva_unbind_device(struct iommu_sva *handle)
{
--
2.7.4


2020-11-17 23:26:13

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] iommu: Modify the description of iommu_sva_unbind_device

On Fri, 23 Oct 2020 06:48:27 +0000, Chen Jun wrote:
> iommu_sva_unbind_device has no return value.
>
> Remove the description of the return value of the function.

Applied to arm64 (for-next/iommu/misc), thanks!

[1/1] iommu: Modify the description of iommu_sva_unbind_device
https://git.kernel.org/arm64/c/6243f572a18d

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev