[PATCH] docs: fix the annotations error of struct X86CPUClass

huangy81@chinatelecom.cn posted 1 patch 5 years ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1610934111-59632-1-git-send-email-huangy81@chinatelecom.cn
Maintainers: Eduardo Habkost <ehabkost@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>
target/i386/cpu-qom.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs: fix the annotations error of struct X86CPUClass
Posted by huangy81@chinatelecom.cn 5 years ago
From: Hyman <huangy81@chinatelecom.cn>

change the 'cpu_def' to 'model' in struct X86CPUClass

Signed-off-by: Hyman <huangy81@chinatelecom.cn>
---
 target/i386/cpu-qom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/cpu-qom.h b/target/i386/cpu-qom.h
index f9923ce..ab33370 100644
--- a/target/i386/cpu-qom.h
+++ b/target/i386/cpu-qom.h
@@ -37,7 +37,7 @@ typedef struct X86CPUModel X86CPUModel;
 
 /**
  * X86CPUClass:
- * @cpu_def: CPU model definition
+ * @model: CPU model definition
  * @host_cpuid_required: Whether CPU model requires cpuid from host.
  * @ordering: Ordering on the "-cpu help" CPU model list.
  * @migration_safe: See CpuDefinitionInfo::migration_safe
-- 
1.8.3.1