Signed-off-by: Andrea Bastoni <[email protected]>
---
 hypervisor/arch/arm-common/gic-v2.c | 2 +-
 hypervisor/arch/arm-common/gic-v3.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hypervisor/arch/arm-common/gic-v2.c 
b/hypervisor/arch/arm-common/gic-v2.c
index c5ad0607..6ca8cb0c 100644
--- a/hypervisor/arch/arm-common/gic-v2.c
+++ b/hypervisor/arch/arm-common/gic-v2.c
@@ -277,7 +277,7 @@ static void gicv2_send_sgi(struct sgi *sgi)
 
 static int gicv2_inject_irq(u16 irq_id, u16 sender)
 {
-       int i;
+       unsigned int i;
        int first_free = -1;
        u32 lr;
        unsigned long elsr[2];
diff --git a/hypervisor/arch/arm-common/gic-v3.c 
b/hypervisor/arch/arm-common/gic-v3.c
index 949c4598..152b07e4 100644
--- a/hypervisor/arch/arm-common/gic-v3.c
+++ b/hypervisor/arch/arm-common/gic-v3.c
@@ -529,7 +529,7 @@ static void gicv3_eoi_irq(u32 irq_id, bool deactivate)
 
 static int gicv3_inject_irq(u16 irq_id, u16 sender)
 {
-       int i;
+       unsigned int i;
        int free_lr = -1;
        u32 elsr;
        u64 lr;
-- 
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-19-andrea.bastoni%40tum.de.

Reply via email to