hw: Fix format for comments
PATCH v2 1/1 hw: Fix format for comments
Simply fix the #vcpus_count to @vcpus_count in CPUArchId comments. Whlie at it, reorder the parameters in comments to match the sequence of parameters which defined in the CPUArchId.
Reviewed-by Igor Mammedov <[email protected]>
Signed-off-by Shaoqin Huang <[email protected]>
--- include/hw/boards.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/hw/boards.h +2 -2
@@ -101,10 +101,10 @@ MemoryRegion *machine_consume_memdev(MachineState *machine,/** * CPUArchId: * @arch_id - architecture-dependent CPU ID of present or possible CPU +* @vcpus_count - number of threads provided by @cpu object +* @props - CPU object properties, initialized by board * @cpu - pointer to corresponding CPU object if it's present on NULL otherwise * @type - QOM class name of possible @cpu object -* @props - CPU object properties, initialized by board -* #vcpus_count - number of threads provided by @cpu object */ typedef struct CPUArchId { uint64_t arch_id;
Signature · 1 line
2.39.1
Quoted 6 lines · Shaoqin Huang
Simply fix the #vcpus_count to @vcpus_count in CPUArchId comments. Whlie at it, reorder the parameters in comments to match the sequence of parameters which defined in the CPUArchId.
Reviewed-by Igor Mammedov <[email protected]>Signed-off-by Shaoqin Huang <[email protected]>
Reviewed-by Peter Xu <[email protected]>
Signature · 1 line
Peter Xu