diff --git a/arch/src/x86_64/mod.rs b/arch/src/x86_64/mod.rs index ac171c373..8fa101e33 100644 --- a/arch/src/x86_64/mod.rs +++ b/arch/src/x86_64/mod.rs @@ -1399,7 +1399,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() {