|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] arm/smmu: address violation of MISRA C:2012 Rule 8.2
commit 25dc15db92d47b2e3b8c9db366d33cf80a132b14
Author: Federico Serafini <federico.serafini@xxxxxxxxxxx>
AuthorDate: Fri Oct 13 17:24:40 2023 +0200
Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Tue Nov 7 12:38:50 2023 -0800
arm/smmu: address violation of MISRA C:2012 Rule 8.2
Add missing parameter names, no functional change.
Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
xen/drivers/passthrough/arm/smmu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/drivers/passthrough/arm/smmu.c
b/xen/drivers/passthrough/arm/smmu.c
index 71799064f8..11fc1d22ef 100644
--- a/xen/drivers/passthrough/arm/smmu.c
+++ b/xen/drivers/passthrough/arm/smmu.c
@@ -277,8 +277,8 @@ static void iommu_group_put(struct iommu_group *group)
}
static void iommu_group_set_iommudata(struct iommu_group *group,
- struct arm_smmu_master_cfg *cfg,
- void (*releasefn)(void *))
+ struct arm_smmu_master_cfg *cfg,
+ void (*releasefn)(void *data))
{
/* TODO: Store the releasefn for the PCI */
ASSERT(releasefn == NULL);
@@ -2082,7 +2082,7 @@ static int arm_smmu_add_device(struct device *dev)
struct arm_smmu_device *smmu;
struct arm_smmu_master_cfg *cfg;
struct iommu_group *group;
- void (*releasefn)(void *) = NULL;
+ void (*releasefn)(void *data) = NULL;
int ret;
smmu = find_smmu_for_device(dev);
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |