From e8697735d1244b55d8dbde60cbbb9f4b60d3690d Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Mon, 23 Sep 2024 12:20:07 +0800 Subject: [PATCH] hypervisor: cpu: Fix `GetRegList` comment `GetRegList` variant will be referenced on both Aarch and RISC-V. Fixed comment to generalize this error variant. Signed-off-by: Ruoqing He --- hypervisor/src/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/src/cpu.rs b/hypervisor/src/cpu.rs index 2e38f75ad..e34abe76b 100644 --- a/hypervisor/src/cpu.rs +++ b/hypervisor/src/cpu.rs @@ -217,7 +217,7 @@ pub enum HypervisorCpuError { #[error("Failed to set aarch64 core register: {0}")] SetAarchCoreRegister(#[source] anyhow::Error), /// - /// Getting AArch64 registers list error + /// Getting registers list error /// #[error("Failed to retrieve list of registers: {0}")] GetRegList(#[source] anyhow::Error),