[PATCH] hw/core: fix block comment style in cpu-common.c

Ganesh Harshan posted 1 patch 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260624144638.30990-1-ganeshredcobra@gmail.com
Maintainers: "Philippe Mathieu-Daudé" <philmd@mailo.com>, Zhao Liu <zhao1.liu@intel.com>
hw/core/cpu-common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] hw/core: fix block comment style in cpu-common.c
Posted by Ganesh Harshan 1 month ago
Move the opening block comment delimiter to a separate line
to comply with QEMU coding style guidelines

Signed-off-by: Ganesh Harshan <ganeshredcobra@gmail.com>
---
 hw/core/cpu-common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c
index e314f916f8..6c9127cc30 100644
--- a/hw/core/cpu-common.c
+++ b/hw/core/cpu-common.c
@@ -249,7 +249,8 @@ static void cpu_common_realizefn(DeviceState *dev, Error **errp)
     CPUState *cpu = CPU(dev);
     Object *machine = qdev_get_machine();
 
-    /* qdev_get_machine() can return something that's not TYPE_MACHINE
+    /*
+     * qdev_get_machine() can return something that's not TYPE_MACHINE
      * if this is one of the user-only emulators; in that case there's
      * no need to check the ignore_memory_transaction_failures board flag.
      */
-- 
2.47.3