Signed-off-by: Andrea Bastoni <[email protected]>
---
 hypervisor/arch/x86/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hypervisor/arch/x86/iommu.c b/hypervisor/arch/x86/iommu.c
index fa50c2f4..1ecf857a 100644
--- a/hypervisor/arch/x86/iommu.c
+++ b/hypervisor/arch/x86/iommu.c
@@ -34,7 +34,7 @@ struct public_per_cpu *iommu_select_fault_reporting_cpu(void)
         * Save this value globally to avoid multiple reports of the same
         * case from different CPUs.
         */
-       unsigned int fault_reporting_cpu_id = first_cpu(root_cell.cpu_set);
+       fault_reporting_cpu_id = first_cpu(root_cell.cpu_set);
 
        return public_per_cpu(fault_reporting_cpu_id);
 }
-- 
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/20201021145404.100463-17-andrea.bastoni%40tum.de.

Reply via email to