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@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Federico Serafini authored and Stefano Stabellini committed 2023-11-07 12:38:50 -08:00
1 parent ffe54cd871
commit 25dc15db92
1 file changed
+3 -3
+3 -3
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.