Signed-off-by: Andrea Bastoni <[email protected]>
---
hypervisor/arch/arm64/smmu-v3.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hypervisor/arch/arm64/smmu-v3.c b/hypervisor/arch/arm64/smmu-v3.c
index 3b5117ba..1f83e389 100644
--- a/hypervisor/arch/arm64/smmu-v3.c
+++ b/hypervisor/arch/arm64/smmu-v3.c
@@ -405,7 +405,7 @@ static void queue_inc_prod(struct arm_smmu_queue *q)
static void queue_write(u64 *dst, u64 *src, u32 n_dwords)
{
- int i;
+ u32 i;
for (i = 0; i < n_dwords; ++i)
*dst++ = *src++;
@@ -1044,7 +1044,8 @@ static int arm_smmuv3_cell_init(struct cell *cell)
{
struct jailhouse_iommu *iommu;
struct arm_smmu_cmdq_ent cmd;
- int ret, i, j, sid;
+ int ret, sid;
+ unsigned int i, j;
struct arm_smmu_device *smmu = the_smmu;
if (!iommu_count_units())
@@ -1074,7 +1075,8 @@ static void arm_smmuv3_cell_exit(struct cell *cell)
{
struct jailhouse_iommu *iommu;
struct arm_smmu_cmdq_ent cmd;
- int i, j, sid;
+ int sid;
+ unsigned int i, j;
struct arm_smmu_device *smmu = the_smmu;
if (!iommu_count_units())
@@ -1099,7 +1101,8 @@ static void arm_smmuv3_cell_exit(struct cell *cell)
static int arm_smmuv3_init(void)
{
struct jailhouse_iommu *iommu;
- int ret, i;
+ int ret;
+ unsigned int i;
struct arm_smmu_device *smmu = the_smmu;
iommu = &system_config->platform_info.iommu_units[0];
--
2.28.0
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/20201022175826.199614-21-andrea.bastoni%40tum.de.