diff --git a/arch/src/x86_64/mod.rs b/arch/src/x86_64/mod.rs index 6827ec34d..4390fd3ee 100644 --- a/arch/src/x86_64/mod.rs +++ b/arch/src/x86_64/mod.rs @@ -1311,7 +1311,7 @@ fn update_cpuid_topology( // sections exposed to the guest. fn update_cpuid_sgx( cpuid: &mut Vec, - epc_sections: &Vec, + epc_sections: &[SgxEpcSection], ) -> Result<(), Error> { // Something's wrong if there's no EPC section. if epc_sections.is_empty() {